Skip to content

AWS adds 88 checks to catch risky CloudFormation deployments

News
A yellow mechanical safety latch holds a dark steel sliding rail in place.
AI-generated editorial illustration by AI World Today.
Amazon Web Services added 88 checks to CloudFormation and the AWS Cloud Development Kit on November 30. They look for proposed deployments that could delete data or disrupt applications, including changes submitted by AI coding agents. AWS runs the checks before CloudFormation changes the resources in a stack.

An active database table can trigger a warning

Suppose a template update removes a DynamoDB table that still gets traffic. When CloudFormation previews the proposed changes, it can name the table and flag the risk before anyone executes the plan. A developer can see the finding in the CloudFormation console, through the DescribeEvents API, or in the CDK deployment output.
CloudFormation already supported proactive controls for resource properties. AWS says the new in-use checks look at recent activity and run in Warn mode by default. A warning lets the deployment continue. Teams can set an individual check to Fail, which can stop the deployment before any resources change. AWS’s controls documentation says Fail mode can also stop the operation if the caller lacks permission to complete a check.

What the checks can see

Most in-use checks examine the previous 24 hours. For IAM roles and S3 bucket policies, the window is seven days. A resource used by a monthly job may show no activity in either window, so a deployment preview still needs to account for infrequent tasks.
The controls apply to stack operations that run through CloudFormation, including AWS CDK and AWS Serverless Application Model deployments. Teams can configure them under Hooks in the CloudFormation console or apply common settings across accounts and regions with StackSets. AWS offers the controls at no additional charge in supported CloudFormation regions outside China.
loading

Loading