Skip to content
The source for Inception Pipelines
Shell Batchfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.

Inception Pipeline

The source for the Inception Pipelines blog series!

  1. Seeds of Inception - Seeding your Account with an Inception Pipeline
  2. Seeds of Inception - Sprouting some website goodness
  3. Seeds of Inception - Sharing the website goodness
  4. Seeds of Inception - Seeding a forest
  5. Seeds of Inception - Access all accounts
  6. Seeds of Inception - Initiating the Seeding
  7. Seeds of Inception - Global CloudTrail


When you begin to develop aspects in their own pipelines, you may find there are many cloudformation scripts being used (and thus configuration files). Unfortunately, the format of parameter file read by Codepipeline differs to the format read by Cloudformation. Cloudformation parameter files can still be useful when you are developing new Cloudformation scripts to include in your pipeline.

We have included a simple filter script, that uses jq to transform from Codepipeline parameters to Cloudformation, allowing you to maintain one parameter file and generate the Cloudformation one on the fly.


Given the following Codepipeline parameter file

    "Parameters" : {
        "TemporaryRoleName: "roleProdAccountDevops",
        "KmsKeyArn" : "arn:aws:kms:eu-west-1:01234556789:key/abc000000000-1234-1234-1234"

When we run pipe the file through the filter script

$ cat codepipeline-params.json |

Then we will see Cloudformation parameters output

    "ParameterKey": "TemporaryRoleName",
    "ParameterValue": "roleProdAccountDevops"
    "ParameterKey": "KmsKeyArn",
    "ParameterValue": "arn:aws:kms:eu-west-1:01234556789:key/abc000000000-1234-1234-1234"

So to write your existing parameter file to a new Cloudformation parameter file, you might call

$ < codepipeline-params.json > code-pipeline-params-cli.json
You can’t perform that action at this time.