Skip to content

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

License

Notifications You must be signed in to change notification settings

rothgar/aws-cloudformation-stack-status

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%