Skip to content

Latest commit

 

History

History
43 lines (25 loc) · 1.43 KB

README.md

File metadata and controls

43 lines (25 loc) · 1.43 KB

aws-cloudformation-stack-status

Clean display of single most recent event status for each resource in a CloudFormation stack.

Useful for monitoring the progress of a CloudFormation stack create, update, and delete.

Please read the blog post here:

https://alestic.com/2016/11/aws-cloudformation-stack-status/

Demo

demo

Examples

Monitor all stack resource progress live (Interrupt with Ctrl-C):

aws-cloudformation-stack-status --watch --region $region --stack-name $stack --profile $profile

The --stack-name flag is optional, and multiple stacks can be monitored together:

watch aws-cloudformation-stack-status --watch $webstack $dbstack $dnsstack

One time display of latest status for each stack resource:

aws-cloudformation-stack-status --region $region --stack-name $stack

Parameters

  • --stack-name: Optional.
  • --watch: Optional. This script will run the watch command to check the response from aws-cli every second
  • --region: Set the aws-cli region. aws-cli will use the default region if set via environment variables or config file.
  • --color: Optional. Display output with terminal coloring similar to how it is displayed on the AWS Console Stack listing

Requirements

This script does require that you have already installed and configured the aws-cli.