Skip to content

Instantly share code, notes, and snippets.

@maishsk
Created July 5, 2018 08:15
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/2bf6e9dfc0d569e0b2e6a677ea1f02ab to your computer and use it in GitHub Desktop.
Save maishsk/2bf6e9dfc0d569e0b2e6a677ea1f02ab to your computer and use it in GitHub Desktop.
Cloudformation-intermediate-results
root@maishsk-lin:/opt/git/automation-standoff/intermediate/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:138XXXXX2836:stack/testvpc/ffa34260-8018-11e8-a6b1-0aca70d92d08"
}
3m36.391s
Destroy
2m4.125s
Starting run 2
Create
{
"StackId": "arn:aws:cloudformation:us-east-2:138XXXXX2836:stack/testvpc/cbd87b20-8019-11e8-b453-0a981112be0e"
}
3m5.697s
Destroy
2m4.184s
Starting run 3
Create
{
"StackId": "arn:aws:cloudformation:us-east-2:138XXXXX2836:stack/testvpc/85d405d0-801a-11e8-989e-50a68a05d0fd"
}
3m36.754s
Destroy
2m35.014s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment