We are going to perform the following steps:
Here are the steps you need to follow to “Creating the Stack”
Navigate to the ServiceCatalogFactory CodeCommit repository
Click on stacks
Click on network-workshop.yaml
Click on edit
Append the following snippet to the main input field:
The full file should look like this:
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.
The YAML file we created in the CodeCommit repository told the framework to:
Once you have made your changes the ServiceCatalogFactory Pipeline should have run. If you were very quick in making the change, the pipeline may still be running. If it has not yet started feel free to the hit the Release change button.
Once it has completed it should show the Source and Build stages in green to indicate they have completed successfully:
The screenshots may differ slightly as the design of AWS CodePipeline changes. You should see a pipeline where each stage is green.
When you configured your product version, you specified the following version:
This tells the framework the source code for the product comes from the main branch of a CodeCommit repository of the name vpc.
We now need to create the CodeCommit repository and add the AWS CloudFormation template we are going to use for our product.
Navigate to AWS CodeCommit
Click Create repository
vpc
Set the File name to stack.template.yaml
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 stack–vpc-v1-pipeline.
Once the pipeline has completed it should show the 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.
The screenshots may differ slightly as the design of AWS CodePipeline changes. You should see a pipeline where each stage is green.
You have now successfully created a stack!
Now that you have verified the pipeline has run correctly you can go to Amazon S3 to view the stack.
Navigate to https://s3.console.aws.amazon.com/s3/home
Select the bucket named sc-puppet-stacks-repository-<account_id>
Navigate to stack/vpc/v1 where you should see an object named stack.template.yaml