Learning center

Trace an AWS denial to a resource control policy

An AWS resource control policy (RCP) limits access to supported resources in member accounts. Start the organization policy search from the resource account, even when the caller comes from a different organization.

Suppose an approved partner session calls GetObject on a fictional reports bucket in account 444455556666. The bucket policy permits the partner, but an inherited RCP denies the request because the principal falls outside the organization. An Organizations reader for the bucket owner can inspect the account, parent OUs and root for the resource restriction. Ask for the policy statement and condition result for the observed request. Then compare the result with the documented intent for partner access. Organizations resource control policies ยท IAM policy evaluation logic

Send any proposed exception to the resource organization's policy owner. Adding a partner principal to a bucket policy cannot override an applicable RCP deny. When the restriction instead comes from an SCP, follow the caller's account hierarchy.

Trace another denied request.

One month of free code review.

New organizations get one calendar month of hosted code review for private and public GitHub repositories. No card or cloud connection required. Eligibility and fair-use terms.

Start free with GitHub

Related reading