A SysOps Administrator is deploying an AWS Config organization conformance pack from the organization's management account. The conformance pack contains a rule to evaluate whether Amazon S3 buckets have public read access enabled, and it includes an automatic remediation configuration that runs the AWS-DisableS3BucketPublicReadWrite Systems Manager (SSM) Automation document. During deployment, the administrator observes that although the conformance pack and rules deploy successfully to all member accounts, the automated remediation fails to execute when a non-compliant bucket is discovered. Which combination of configuration steps will resolve this issue and allow the remediation to run successfully? (Select TWO.)
- Configure the trust relationship of the remediation IAM role in each member account to allow the Systems Manager service principal (ssm.amazonaws.com) to assume the role.Answer
- Grant the iam:PassRole permission for the remediation IAM role to the IAM identity deploying the organization conformance pack.Answer
- CConfigure an Amazon EventBridge rule in the management account to detect AWS Config non-compliance events and trigger the Systems Manager Automation document in the member accounts.
- DConfigure the trust relationship of the remediation IAM role in each member account to allow the AWS Config service principal (config.amazonaws.com) to assume the role.
- EAttach an IAM policy to the AWS Config service-linked role in the member accounts that grants the iam:PassRole permission for the Systems Manager Automation document.
Answer
Configure the trust relationship of the remediation IAM role in each member account to trust the Systems Manager service principal (ssm.amazonaws.com), and grant the iam:PassRole permission for the remediation IAM role to the IAM identity deploying the organization conformance pack.
To successfully execute automated remediations deployed via an organization conformance pack, the remediation role in each member account must have a trust policy allowing the Systems Manager service principal (ssm.amazonaws.com) to assume the role, as Systems Manager executes the Automation document. Additionally, the deploying identity in the management account must have the iam:PassRole permission for the remediation role to authorize passing it to the service.
Step-by-Step Solution
Key Concept
AWS Config Rule automatic remediation requires establishing correct cross-service trust relationships (specifically for AWS Systems Manager) and granting the iam:PassRole permission to the deploying identity to authorize delegation of the execution role.