alexa / ask-cli

Alexa Skills Kit Command Line Interface
https://developer.amazon.com/en-US/docs/alexa/smapi/ask-cli-intro.html
Apache License 2.0
167 stars 55 forks source link

Improve CFN Deployment Error Handling #495

Closed CamdenFoucht closed 1 year ago

CamdenFoucht commented 1 year ago

Description

Developer's have reported using ask deploy with the CFNDeployer and when they had incorrect IAM policies all they saw was

CliError: The CloudFormation deploy failed for Alexa region "default": Access Denied

We should see if we can surface more details returned from AWS such as User is not permitted to: XXX so it's more clear to users why caused the deployment failure

See https://github.com/openhab/openhab-alexa/issues/509 for context