aws-cloudformation-github-deploy icon indicating copy to clipboard operation
aws-cloudformation-github-deploy copied to clipboard

Show error code / message for cloudformation errors

Open robd opened this issue 4 years ago • 0 comments

I was trying to create an S3 BucketPolicy, and the step was hanging for about 7 minutes, and then failed with the following message: Resource is not in the state stackUpdateComplete

Eventually I found cloud trail logs [1] - this showed that this request was failing with AccessDenied due to the deployment user missing s3:PutBucketPolicy and s3:DeleteBucketPolicy permissions.

Could the response from API call be shown in the log? Or possibly just the errorCode / errorMessage properties if they are present?

[1] https://eu-west-2.console.aws.amazon.com/cloudtrail/home

robd avatar Jan 30 '21 09:01 robd