An administrator is managing an AWS CloudFormation stack that contains an Amazon RDS DB instance. A stack update fails because of an invalid parameter value, and the stack enters the UPDATE_ROLLBACK_FAILED state. Upon inspecting the stack events, the administrator discovers that a dependency resource was manually deleted outside of CloudFormation during the update, preventing the DB instance from rolling back to its previous configuration. Which two actions should the administrator take to successfully return the stack to a working state and reconcile the resource configurations? (Select TWO.)
- Perform the Continue Update Rollback action and select the database resource to be skipped.Cevap
- Manually update the actual resource configuration to match the expected template state after the rollback completes.Cevap
- CInitiate a new stack update with the Force Rollback option enabled to ignore the deleted dependency.
- DExecute the Resolve Drift API command to automatically recreate the deleted dependency.
- EAdd the iam:PassRole permission to the CloudFormation service role and immediately trigger a stack update.
Cevap
Perform the Continue Update Rollback action, select the database resource to be skipped, and then manually update the actual resource configuration to match the expected template state after the rollback completes.
To resolve an UPDATE_ROLLBACK_FAILED state, the administrator must invoke the Continue Update Rollback action. By specifying the database resource to be skipped, CloudFormation can bypass the blocked resource and successfully roll back the rest of the stack. Once the stack reaches UPDATE_ROLLBACK_COMPLETE, the skipped resource must be manually updated to align with the template configuration.
Adım Adım Çözüm
Anahtar Kavram
Recovering from UPDATE_ROLLBACK_FAILED requires running ContinueUpdateRollback and optionally skipping the blocked resources. The skipped resources must then be reconciled manually to resolve any resulting drift.