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

delete stack doesn't have --deletion-mode option #8756

Closed
huyhoang160593 opened this issue Jun 20, 2024 · 2 comments
Closed

delete stack doesn't have --deletion-mode option #8756

huyhoang160593 opened this issue Jun 20, 2024 · 2 comments
Assignees

Comments

@huyhoang160593
Copy link

Describe the bug

https://awscli.amazonaws.com/v2/documentation/api/latest/reference/cloudformation/delete-stack.html
as here mention there is --deletion-mode that can be use to some kind of force delete a stack, but when using cli they are unknown option

Expected Behavior

have --deletion-mode option available

Current Behavior

Unknown options: --deletion-mode, FORCE_DELETE_STACK

Reproduction Steps

aws cloudformation delete-stack --stack-name --deletion-mode "FORCE_DELETE_STACK"

Possible Solution

No response

Additional Information/Context

No response

CLI version used

aws-cli/2.13.0 Python/3.11.4 Linux/6.9.4-200.fc40.x86_64 exe/x86_64.fedora.40 prompt/off

Environment details (OS name and version, etc.)

Linux

@huyhoang160593 huyhoang160593 added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Jun 20, 2024
@tim-finnigan tim-finnigan self-assigned this Jun 20, 2024
@tim-finnigan tim-finnigan added the investigating This issue is being investigated and/or work is in progress to resolve the issue. label Jun 20, 2024
@tim-finnigan
Copy link
Contributor

It looks like --deletion-mode was just added recently in 2.15.56. I just tested in 2.16.8 and can confirm the option is recognized. Please update to a more recent version of the AWS CLI, documentation here: https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html

@tim-finnigan tim-finnigan added cloudformation and removed bug This issue is a bug. investigating This issue is being investigated and/or work is in progress to resolve the issue. needs-triage This issue or PR still needs to be triaged. labels Jun 20, 2024
Copy link

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants