Posted On: Mar 14, 2024
Amazon CloudFormation improves its deployment experience to validate customer stack operation upfront for invalid resource property errors. Customers get instant feedback that their stack operation will fail due to issues such as spelling errors in their template. With this launch, customers fail fast and minimize the steps required for a successful stack operation.
When you create or update an Amazon CloudFormation stack, your stack can fail due to invalid resource property values or unsupported resource property names. For example, you are trying to deploy an S3 bucket with misspelled property name, or trying to use EC2 property such as SecurityGroups under S3 bucket resource properties. Previously, customers waited until the resource being provisioned had such an error, causing the stack operation to fail. Customers would repeat this process until all resources are successfully deployed without invalid resource property errors. With this new experience, CloudFormation validates your stack operation prior to deploying the first resource and provides error messages upfront. You will get this information as resource-level stack events with error details as status reason.
This feature is available in Amazon Web Services China (Beijing) Region, operated by Sinnet and Amazon Web Services China (Ningxia) Region, operated by NWCD. Visit our user guide to learn how to troubleshoot common CloudFormation operation errors.