We are going to perform the following steps:
Here are the steps you need to follow to “Add the source code”
When you configured your product version, you specified the following:
We now need to create the AWS CodeCommit repository and add the AWS CloudFormation template we are going to use for our product into that repository.
Navigate to AWS CodeCommit
Click Create repository
Copy the following snippet into the main input field:
Set the File name to
Set your Author name
Set your Email address
Set your Commit message
Using a good / unique commit message will help you understand what is going on later.
Creating that file should trigger your aws-config-enable-config-v1-pipeline.
Once the pipeline has completed it should show the Source, Package and Deploy stages in green to indicate they have completed successfully:
You should see your commit message on this screen, it will help you know which version of ServiceCatalogFactory repository the pipeline is processing.
Once you have verified the pipeline has run you can go to Service Catalog products to view your newly created version.
You should see the product you created listed:
Click on the product and verify v1 is there
You have now successfully created a version for your product!
If you are using AWS CodeCommit as your SCM you are able to request the framework to create the git repository for you and you can specify an AWS S3 source for where the initial commit should come from:
In the example above we are saying the initial source code should come from the S3 bucket named service-catalog-tools-product-sets-eu-west-2 using the key product-sets/networking/vpc/v1/networking–vpc–v1.zip
You can split the declaration between the product and version as we have in the example above or you could have specified all of the configuration under the version.