Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws cloudformation delete-stack returns nothing #3569

Closed
adamchainz opened this issue Sep 16, 2018 · 5 comments
Closed

aws cloudformation delete-stack returns nothing #3569

adamchainz opened this issue Sep 16, 2018 · 5 comments
Assignees
Labels
cloudformation service-api This issue is due to a problem in a service API, not the SDK implementation.

Comments

@adamchainz
Copy link

The output and exit code of delete-stack are 0 and empty, respectively, no matter whether the named stack exists, is deletable, etc. Thus any mistake is silently passed over.

@justnance
Copy link

justnance commented Sep 19, 2018

@ adamchainz - Thanks for reaching out. This is expected behavior by the CloudFormation service. The CLI is only displaying the error returned by the service and does not have any control over this behavior. Modifying the output to display the results would be a good feature request for the Cloudformation service team. It is recommended to reach out on the CloudFormation forums or contact AWS Support. Once this information is exposed from the API then it should be automatically picked up and displayed by the CLI.

@justnance justnance self-assigned this Sep 19, 2018
@justnance justnance added closing-soon This issue will automatically close in 4 days unless further comments are made. cloudformation labels Sep 19, 2018
@adamchainz
Copy link
Author

The CLI could poll though to check. Or do you never add extra API calls to commands over the underlying API? I'll write a support ticket later today.

@no-response no-response bot removed the closing-soon This issue will automatically close in 4 days unless further comments are made. label Sep 20, 2018
@adamchainz
Copy link
Author

Reported to support

@justnance
Copy link

@adamchainz - Thanks for your feedback and reaching out to Support. We do not add extra API call to commands over the underlying API.

@justnance justnance added closing-soon This issue will automatically close in 4 days unless further comments are made. service-api This issue is due to a problem in a service API, not the SDK implementation. labels Jan 28, 2019
@adamchainz
Copy link
Author

Mokay

@no-response no-response bot removed the closing-soon This issue will automatically close in 4 days unless further comments are made. label Jan 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cloudformation service-api This issue is due to a problem in a service API, not the SDK implementation.
Projects
None yet
Development

No branches or pull requests

2 participants