On this page3 sections
AWS has given deployment agents a way to spot a database they are about to delete while an application is still using it. On November 30, AWS added 88 checks to CloudFormation and its Cloud Development Kit (CDK) for changes that could destroy data or interrupt service. The checks that look for recent use are on by default. They can flag a live database and still let the deployment go ahead.
Why a failed check can leave a change ready to run
CloudFormation uses a template to describe the resources an application needs. When an engineer or an AI agent edits that template, a change set previews what AWS would add, replace or remove. AWS gives the example of an orders table in DynamoDB. The edited template drops the table, but the service has recorded reads or writes against it in the past 24 hours. That gives the reviewer a reason to find out who still needs those orders.
Two fields in the finding matter. ValidationStatus can say FAILED because the check caught the planned deletion. Beside it, ValidationFailureMode says what CloudFormation will do about it. In WARN mode, AWS can create the change set with the finding attached. Someone with permission can still execute it. In FAIL mode, the finding stops the change set before the table is touched. The difference is easy to lose if an agent reports only that its preview was created successfully.
A quiet table can still have a customer
Consider a hypothetical billing job that reads its table every Sunday. An agent proposes deleting the table on Wednesday. For most resource types, AWS checks the previous 24 hours of activity. The last billing run falls outside that window. A quiet Wednesday tells the team very little about the invoices due next Sunday.
Give the agent permission to prepare the change. Before authorizing deletion, have the billing owner identify the table named in that exact change set and confirm where the Sunday job will read its data. If that question is still open, leave the table in place. Even a blocking control can only act on the conditions it checks. This is the same distinction between proposing a change and authorizing it that matters for agents with production access.
AWS recommends that teams using deployment agents set the relevant controls to FAIL for resources their applications depend on, keep the agent from overriding validation, and have it read the findings before execution. One detail is worth a rehearsal with the role the agent will actually use. If that role lacks permission to read resource activity, a blocking check stops the operation and identifies the missing permission. A warning lets it continue. For the billing team, that makes an unreadable activity record a reason to pause the change while the table is still there.
Sources
Sources & context
Sources linked in this article. Read alongside the author’s analysis; a citation does not independently verify a publisher’s claims.
- AWS announcement of 88 CloudFormation and CDK controlsaws.amazon.com
- CloudFormation guide to reading control findingsdocs.aws.amazon.com
- CloudFormation guide to data protection and business continuity controlsdocs.aws.amazon.com
- AWS guidance for using controls with AI agentsdocs.aws.amazon.com
