Bird
0
0

You run aws cloudformation update-stack --stack-name ProdStack --template-body file://newtemplate.json but get an error saying the stack is in UPDATE_IN_PROGRESS state. What should you do to fix this?

medium📝 Debug Q14 of 15
AWS - CloudFormation
You run aws cloudformation update-stack --stack-name ProdStack --template-body file://newtemplate.json but get an error saying the stack is in UPDATE_IN_PROGRESS state. What should you do to fix this?
AIgnore the error and rerun update-stack multiple times
BRun delete-stack immediately to remove the stack
CChange the stack name and try update-stack again
DWait for the current update to finish before running update-stack again
Step-by-Step Solution
Solution:
  1. Step 1: Understand stack states during update

    When a stack is in UPDATE_IN_PROGRESS, it means an update is already running and must complete before another update starts.
  2. Step 2: Choose the correct action

    Waiting for the current update to finish avoids conflicts and errors. Deleting or renaming the stack is unnecessary and may cause data loss or confusion.
  3. Final Answer:

    Wait for the current update to finish before running update-stack again -> Option D
  4. Quick Check:

    UPDATE_IN_PROGRESS means wait before next update [OK]
Quick Trick: Wait for update to finish before next update [OK]
Common Mistakes:
  • Trying to delete stack during update
  • Renaming stack instead of waiting
  • Ignoring error and retrying immediately

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes