An enterprise manages its application infrastructure using AWS CloudFormation StackSets deployed across multiple member accounts in an AWS Organization. A developer manually modified the configuration of an Amazon EC2 instance and its associated security groups in a member account to troubleshoot a production issue. When the administrator runs a StackSet update to deploy a new version of the infrastructure, the update fails and rolls back in that specific member account because of this configuration drift. Additionally, the StackSet template must fetch and decrypt a database password stored in a central Amazon S3 bucket in the administrator account during deployment. Which combination of steps should the Solutions Architect take to resolve the update failure, automate configuration enforcement, and securely handle parameter decryption?
- ARun drift detection on the StackSet to identify the drifted resources, manually update the drifted configurations to match the template or import the changes, and then re-run the StackSet update. Implement AWS Systems Manager State Manager to continuously enforce the configuration. Use the default AWS-managed KMS key (aws/s3) in the administrator account to encrypt the password, and configure the key policy to allow the member accounts' execution roles to decrypt it.
- BRun drift detection on the StackSet to identify the drifted resources, manually update the drifted configurations to match the template or import the changes, and then re-run the StackSet update. Implement AWS Systems Manager State Manager to continuously enforce the configuration. Use a Customer Managed Key in the administrator account, and attach a Service Control Policy (SCP) to the member accounts' Organizational Unit that grants decrypt permissions for this key.
- Run drift detection on the StackSet to identify the drifted resources, manually update the drifted configurations to match the template or import the changes, and then re-run the StackSet update. Implement AWS Systems Manager State Manager to continuously enforce the configuration. Use a Customer Managed Key in the administrator account with a key policy that allows the member accounts' execution roles to decrypt the password.Cevap
- DForce the StackSet update using the override flag to automatically overwrite all out-of-band console changes and align them with the template. Implement AWS Systems Manager State Manager to continuously enforce the configuration. Use a Customer Managed Key in the administrator account with a key policy that allows the member accounts' execution roles to decrypt the password.