-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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 method for cloudformation client fails parameter validation #4289
Comments
Thanks for reaching out. The |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Describe the bug
When I call
client.delete_stack(StackName=stack_name, DeletionMode='FORCE_DELETE_STACK')
using boto3, I get the following error:Parameter validation failed: Unknown parameter in input: "DeletionMode", must be one of: StackName, RetainResources, RoleARN, ClientRequestToken
This only happens in boto3-1.34.25. When I use boto3-1.34.144, the call works as expected.
Regression Issue
Expected Behavior
Initiate forced deletion of given stack name.
Current Behavior
Parameter validation error that lists all of the other parameters of the delete_stack method.
Reproduction Steps
pip install boto3==1.34.25
python
Possible Solution
Revert to the method definition in 1.34.144
Additional Information/Context
No response
SDK version used
1.34.25
Environment details (OS name and version, etc.)
AWS Linux
The text was updated successfully, but these errors were encountered: