Skip to content

Instantly share code, notes, and snippets.

@maishsk
Created June 21, 2018 08:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maishsk/9d7d1b104d7f33bb8bda034f9589e93e to your computer and use it in GitHub Desktop.
Save maishsk/9d7d1b104d7f33bb8bda034f9589e93e to your computer and use it in GitHub Desktop.
Cloudformation results
root@maishsk-lin:/opt/git/playground/create-vpc/cloudformation# for i in {1..3}; do echo "Starting run $i"; echo "Create"; aws cloudformation create-stack --stack-name testvpc --template-body file://vpc_cloudformation_template.yml; time aws cloudformation wait stack-create-complete --stack-name testvpc --no-paginate; echo "Destroy"; aws cloudformation delete-stack --stack-name testvpc; time aws cloudformation wait stack-delete-complete --stack-name testvpc; done
Starting run 1
Create
{
"StackId": "arn:aws:cloudformation:us-east-2:138XXXX92836:stack/testvpc/d185d5c0-7305-11e8-8f24-508410100a8d"
}
31.750
Destroy
31.882
Starting run 2
Create
{
"StackId": "arn:aws:cloudformation:us-east-2:138XXXX92836:stack/testvpc/f8c63490-7305-11e8-8cc9-50faf8bc7c9a"
}
32.082
Destroy
31.860
Starting run 3
Create
{
"StackId": "arn:aws:cloudformation:us-east-2:138XXXX92836:stack/testvpc/20323740-7306-11e8-8ebc-50faf8bc7cfe"
}
32.129
Destroy
31.897
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment