Interview Prep/AWS/Observability, Secrets, KMS and CloudFormation

A CloudFormation stack is stuck in UPDATE_ROLLBACK_FAILED. What now?

IntermediateScenarioObservability, Secrets, KMS and CloudFormation
Answer

Situation read → A resource cannot return to prior state.

What I'd do →

  1. Read events: aws cloudformation describe-stack-events --stack-name s
  2. Fix the blocking cause, e.g. manually deleted resource
  3. aws cloudformation continue-update-rollback --stack-name s --resources-to-skip LogicalId
  4. Then redeploy

Why → Skipping gets the stack back to a clean state.

Interview tip → Avoid manual console changes.

aws All AWS questions

More on Observability, Secrets, KMS and CloudFormation