title: Passing parameters to CodePipeline
body: <p>I created codepipeline for my stack and during commit on a specific branch, there should be triggered update stack, everything works ok but the problem is with parameters, especially with secret parameters. Here is my question:
  1. How can I omit "ugly" JSON string in ParameterOverrides, right now, there is no problem but if I will override more than 30 parameters it will be a long string, can I include JSON file with parameters? If yes, how can I do this?</p>
  
  <pre><code> "ResRootStackCodePipeline": {
    "Type": "AWS::CodePipeline::Pipeline",
    "DependsOn": [
      "ResRootStackServerI"
    ],
    "Properties": {
      "Name": "AutoProjectCodePipeline",
      "RestartExecutionOnUpdate": "true",
      "RoleArn": {
        "Fn::Join": [
          "",
          [
            "arn:aws:iam::",
            {
              "Ref": "AWS::AccountId"
            },
            ":role/service-role/AWSCodePipelineServiceRole"
          ]
        ]
      },
      "ArtifactStore": {
        "Type": "S3",
        "Location": "bucket-codepipeline-test"
      },
      "Stages": [
        {
          "Name": "APSource",
          "Actions": [
            {
              "Name": "APSourceProcess",
              "ActionTypeId": {
                "Category": "Source",
                "Owner": "ThirdParty",
                "Provider": "GitHub",
                "Version": "1"
              },
              "RunOrder": 1,
              "Configuration": {
                "Branch": "instances-test",
                "OAuthToken": "xxx",
                "Owner": "muume",
                "PollForSourceChanges": "true",
                "Repo": "autoproject-aws-infra"
              },
              "OutputArtifacts": [
                {
                  "Name": "APGithubArtifact"
                }
              ]
            }
          ]
        },
        {
          "Name": "APDeploy",
          "Actions": [
            {
              "Name": "APUpdateProcess",
              "ActionTypeId": {
                "Category": "Deploy",
                "Owner": "AWS",
                "Provider": "CloudFormation",
                "Version": "1"
              },
              "RunOrder": 1,
              "Configuration": {
                "ActionMode": "CREATE_UPDATE",
                "RoleArn": {
                  "Fn::Join": [
                    "",
                    [
                      "arn:aws:iam::",
                      {
                        "Ref": "AWS::AccountId"
                      },
                      ":role/CloudFormationRole"
                    ]
                  ]
                },
                "StackName": {
                  "Ref": "AWS::StackName"
                },
                "ParameterOverrides": { "Fn::Join": [ "", [
                  "{\"ParaNamePrefix\": \"tescik\",\"ParaTemplateURI\": \"https://localhost.xx/\",\"ParaServerInstanceTypeFront\": \"t2.medium\"}"
                  ]]},
                "TemplatePath": "APGithubArtifact::instances-test/Stack_Root_I.json",
                "TemplateConfiguration": "APGithubArtifact::instances-test/simple_configuration.json"
  
              },
              "OutputArtifacts": [],
              "InputArtifacts": [
                {
                  "Name": "APGithubArtifact"
                }
              ]
            }
          ]
        }
      ]
    }
  }
  </code></pre>
  
  <p>maybe do you see another solution to manage with that problem? </p>