QuestionQ76

VerifiedInfrastructure Security

A company uses AWS Organizations to administer an organization with three workload OUs: Production, Development, and Testing. The company uses AWS CloudFormation templates to define and deploy workload infrastructure in AWS accounts associated with these OUs. Different SCPs are attached to each workload OU.

The company successfully deployed a CloudFormation stack update to workloads in the Development OU and the Testing OU. When the company uses the same CloudFormation template to deploy the stack update in an account in the Production OU, the update fails. The error message reports insufficient IAM permissions.

What should a security engineer do as the FIRST step to troubleshoot this issue?

Explanation

AWS CloudTrail provides the failed API calls made during the deployment, including the operation and authorization error. This establishes the exact permission that was denied and supports determining whether the CloudFormation execution role lacks an IAM permission or an SCP applicable to the Production OU restricts that action. SCPs set the maximum permissions available to principals in member accounts, so an allowed IAM permission can still be blocked by an applicable SCP.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!