Describe your idea/feature/enhancement
I made changes to my template.yaml that caused my sam deploy to fail with this message: “Error: Failed to create changeset for the stack: fbp, ex: Waiter ChangeSetCreateComplete failed: Waiter encountered a terminal failure state: For expression "Status" we matched expected path: "FAILED" Status: FAILED. Reason: The following hook(s)/validation failed: [AWS::EarlyValidation::ResourceExistenceCheck]. To troubleshoot Early Validation errors, use the DescribeEvents API for detailed failure information.“
If I run this CLI:
aws cloudformation describe-events --stack-name --region us-east-1 --change-set-name "arn:aws:cloudformation:us-east-1:768286545465:changeSet/samcli-deploy1785624984/45c53ade-62a4-415f-ac7c-fc27e63b06d8”
I get output that shows me what the actual issue is.
Proposal
Can the error ouput for sam deploy failures be augmented with more detailed error information? It would save developers a lot of time to be able to see this right away
Describe your idea/feature/enhancement
I made changes to my template.yaml that caused my sam deploy to fail with this message: “Error: Failed to create changeset for the stack: fbp, ex: Waiter ChangeSetCreateComplete failed: Waiter encountered a terminal failure state: For expression "Status" we matched expected path: "FAILED" Status: FAILED. Reason: The following hook(s)/validation failed: [AWS::EarlyValidation::ResourceExistenceCheck]. To troubleshoot Early Validation errors, use the DescribeEvents API for detailed failure information.“
If I run this CLI:
aws cloudformation describe-events --stack-name --region us-east-1 --change-set-name "arn:aws:cloudformation:us-east-1:768286545465:changeSet/samcli-deploy1785624984/45c53ade-62a4-415f-ac7c-fc27e63b06d8”
I get output that shows me what the actual issue is.
Proposal
Can the error ouput for sam deploy failures be augmented with more detailed error information? It would save developers a lot of time to be able to see this right away