This tutorial will walk you through how to use the “Provisioning a Stack” feature.
We will assume you have:
We will assume you are comfortable:
We are going to perform the following steps to “Provisioning a Stack”:
Here are the steps you need to follow for “Provisioning a Stack”
Navigate to the ServiceCatalogFactory CodeCommit repository
click Add file and then Create file
Paste the following into the main input window:
In the File name field enter the following
Please note the file name is not significant but it must have the extension
.yaml and it must be in a directory named
Fill in the other fields and save the file. Once you do the pipeline
servicecatalog-factory-pipeline will run.
Once the pipeline is complete you will have a new pipeline named
You should navigate to AWS CodeCommit, create a repo named
ssm-parameter-stack and add a file named
stack.template.yaml with the following content on the
stack--ssm-parameter-v1-pipelinewill run. It will take the source code and add will add it to Amazon S3 so you can use it in Service Catalog Puppet in the step below.
Now we are ready to provision the stack using the manifest file.
Navigate to the ServiceCatalogPuppet CodeCommit repository
Click the ServiceCatalogPuppet repository
Click the link to the manifest.yaml file, and then click the Edit button
Add the following snippet to the end of the main input field:
In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order for CloudFormation to create the stack.
When you need to do this you can specify the capabilities as a list per stack:
Now that we have updated the manifest file we are ready to commit our changes.
Using a good / unique commit message will help you understand what is going on later.