Difference between revisions of "Aws cloudformation describe-stack-events"

From wikieduonline
Jump to navigation Jump to search
Line 8: Line 8:
  
 
  for STACK_NAME in `aws cloudformation list-stacks | grep StackName | cut -d'"' -f4 | sort | uniq`; do aws cloudformation describe-stack-events --stack-name $STACK_NAME ; done
 
  for STACK_NAME in `aws cloudformation list-stacks | grep StackName | cut -d'"' -f4 | sort | uniq`; do aws cloudformation describe-stack-events --stack-name $STACK_NAME ; done
 +
 +
  for STACK_NAME in `aws cloudformation list-stacks | grep StackName | cut -d'"' -f4 | sort | uniq`; do aws cloudformation describe-stack-events --stack-name $STACK_NAME ; done | grep [[Timestamp]]
  
 
== Related ==
 
== Related ==

Revision as of 09:19, 6 May 2022

https://docs.aws.amazon.com/cli/latest/reference/cloudformation/describe-stack-events.html

aws cloudformation describe-stack-events --stack-name your_stack_name
aws cloudformation describe-stack-events --stack-name your_stack_name | grep ResourceStatusReason
aws cloudformation describe-stack-events --stack-name your_stack_name | grep CREATE_FAILED


for STACK_NAME in `aws cloudformation list-stacks | grep StackName | cut -d'"' -f4 | sort | uniq`; do aws cloudformation describe-stack-events --stack-name $STACK_NAME ; done
 for STACK_NAME in `aws cloudformation list-stacks | grep StackName | cut -d'"' -f4 | sort | uniq`; do aws cloudformation describe-stack-events --stack-name $STACK_NAME ; done | grep Timestamp

Related

See also

Advertising: