A SysOps Administrator is updating an AWS CloudFormation stack that manages an Auto Scaling group and an Amazon RDS DB instance. The update fails during the database configuration step, triggering a rollback. The rollback also fails, leaving the stack in the UPDATE_ROLLBACK_FAILED state. The stack events show that the IAM service role assigned to the CloudFormation stack lacks the rds:DeleteDBInstance permission required to remove the failed RDS resource. Which combination of actions must the SysOps Administrator perform to resolve this issue and return the stack to a stable state? (Select TWO.)
- Modify the IAM service role associated with the CloudFormation stack to include the missing RDS permissions.Cevap
- Run the aws cloudformation continue-update-rollback command to resume the rollback process.Cevap
- CRun the aws cloudformation rollback-stack command to force the rollback to completion.
- DManually delete the failed RDS DB instance via the Amazon RDS console, then run the aws cloudformation update-stack command.
- EPerform a stack drift remediation by updating the local template and applying a new change set to force an override of the resource state.
Cevap
To resolve the rollback failure and return the stack to a stable state, the SysOps Administrator must update the associated IAM service role to grant the missing rds:DeleteDBInstance permission and then execute the continue-update-rollback CLI command to resume the rollback process.
To resolve the UPDATE_ROLLBACK_FAILED state, you must address the root cause (the missing IAM permissions) and then explicitly instruct CloudFormation to resume rolling back the remaining resources. Thus, modifying the associated IAM service role to grant the missing permissions and running continue-update-rollback are the correct steps.
Adım Adım Çözüm
Anahtar Kavram
Resolving CloudFormation update rollback failures by fixing IAM execution role permissions and using the continue-update-rollback action.