aws-cloudformation / rain

A development workflow tool for working with AWS CloudFormation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

View root cause CloudTrail entries

ericzbeard opened this issue · comments

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>