Skip to content

How do I restrict the ability of users to delete or update resources in my CloudFormation stack?

1 minute read
1

I don't want users to delete or update the resources in my AWS CloudFormation stack.

Resolution

Note: If you receive errors when you run AWS Command Line Interface (AWS CLI) commands, then see Troubleshooting errors for the AWS CLI. Also, make sure that you're using the most recent AWS CLI version.

To prevent deletion or updates to resources in a CloudFormation stack, take the following actions:

Related information

Understand update behaviors of stack resources

Update your stack template

Troubleshooting CloudFormation