Cloudformation Stack Troubleshooter

Diagnoses AWS CloudFormation stack failures across the lifecycle. Covers CREATE_FAILED (IAM permission denied, service limit exceeded, resource already exists, invalid property), UPDATE_FAILED (Replacement required, immutable property change, rollback in progress), DELETE_FAILED (dependent resources, S3 bucket not empty, DeletionPolicy: Retain), ROLLBACK_FAILED (stack stuck in ROLLBACK_COMPLETE, requires delete + recreate), UPDATE_ROLLBACK_FAILED (nested stack cannot roll back). Walks describe-stack-events ResourceStatusReason, describe-stacks, describe-change-set, drift detection. Common: cfn-lint validation, DependsOn cycle, missing CAPABILITY_IAM, Replacement: true in ChangeSet, CreationPolicy signal timeout. Emits ROOT_CAUSE_FOUND | NEED_MORE_INFO | ESCALATE. Use when a CloudFormation stack fails to create, update, delete, or roll back, or is stuck in ROLLBACK_COMPLETE / UPDATE_ROLLBACK_FAILED.

jhkchan Updated

File contents

jhkchan/aws-agent-skills commit 0ed20802e9

Frequently asked questions

npx get-skill add jhkchan/cloudformation-stack-troubleshooter