A pipeline fails with `An error occurred (ValidationError) when calling the UpdateStack operation: No updates are to be performed.`
BeginnerTroubleshootingCloudFormation, CloudWatch, KMS, Secrets and Cost
Answer
Likely causes → The template and parameters are identical to what is deployed. CloudFormation treats this as an error for update-stack.
Diagnose →
aws cloudformation get-template --stack-name app --query TemplateBody > deployed.yaml
diff deployed.yaml template.yaml
Fix → Use aws cloudformation deploy --no-fail-on-empty-changeset, which handles this case. Or catch that specific message and treat it as success.
Prevent → Deploy with aws cloudformation deploy or change sets in pipelines, not raw update-stack.
More on CloudFormation, CloudWatch, KMS, Secrets and Cost
Updating a stack fails: `Stack:arn:aws:cloudformation:...:stack/app/... is in ROLLBACK_COMPLETE state and can not be updated.`BeginnerA stack is stuck in `UPDATE_ROLLBACK_FAILED`.Advanced`InsufficientCapabilitiesException: Requires capabilities : [CAPABILITY_NAMED_IAM]`.BeginnerStack deletion ends in `DELETE_FAILED` with `The bucket you tried to delete is not empty` on an S3 bucket resource.IntermediateDrift detection shows `MODIFIED` on a security group and an RDS instance that someone changed in the console. How do you reconcile?AdvancedDeleting or updating a stack fails: `Export network-VpcId cannot be deleted as it is in use by app-stack`.Intermediate