Medium CloudFormation Regional

CloudFormation stacks should have termination protection enabled

Description

Flags AWS CloudFormation stacks that do not have termination protection enabled. Without termination protection, a stack can be deleted by anyone with cloudformation:DeleteStack — taking down every resource it manages.


Remediation

Enable termination protection on every CloudFormation stack that manages production or otherwise critical resources.

Steps

  1. Open the CloudFormation console and select the stack.
  2. Choose Stack actions, then Edit termination protection.
  3. Set termination protection to Activated and confirm.