aws-cloudformation / rain

A development workflow tool for working with AWS CloudFormation.
Apache License 2.0
757 stars 69 forks source link

View root cause CloudTrail entries #337

Open ericzbeard opened 3 months ago

ericzbeard commented 3 months ago

The AWS console has a "root cause" feature that points you to the event that caused a stack to fail. Users then go to CloudTrail to troubleshoot if the error is not descriptive enough. Add an option to the rain logs command that outputs a summary of CloudTrail events around the time of the failure.

rain logs --root-cause <stackName>