You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Select this option if this issue appears to be a regression.
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
import boto3
client=boto3.client('cloudformation')
stack_name = an existing stack
client.delete_stack(StackName=stack_name, DeletionMode='FORCE_DELETE_STACK')
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:
Thanks for reaching out. The Parameter validation failed: Unknown parameter in input error often indicates that you're using an older version of boto3. It looks like support for DeletionMode was added in 1.34.111 per the CHANGELOG. That parameter is present in the latest documentation for delete_stack, and not in the older version 1.34.25. I think this issue can be closed but if you have any follow up questions let us know.
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.
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: