Testing and Deployment

A CloudFormation update ends in UPDATE_ROLLBACK_FAILED because the stack's service role lost permission to restore a resource. The permission is now restored, and all resources must match the previous template before another update; what should the developer do?

Show the answer

Correct answerD. Run ContinueUpdateRollback without skipping resources.

AWhy not this: RollbackStack supports CREATE_FAILED and UPDATE_FAILED, not UPDATE_ROLLBACK_FAILED.

BWhy not this: Skipping can leave the resource inconsistent with the template, violating the required end state.

CWhy not this: The stack must recover from UPDATE_ROLLBACK_FAILED before another update can proceed.

DWhy this is right: The permission issue is fixed, so rollback can resume and restore resources to the previous template's state.

ContinueUpdateRollback resumes a failed update rollback after its underlying cause is fixed. Skipping the resource can leave it inconsistent with the template; RollbackStack applies to CREATE_FAILED or UPDATE_FAILED, not UPDATE_ROLLBACK_FAILED.