Created
March 27, 2023 18:39
-
-
Save spasam/cc98107fc33198a5fbceb8afe964c505 to your computer and use it in GitHub Desktop.
Allow access to all resources within an AWS account for principals from multiple organizations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "AllowAccessToMultipleOrgs", | |
"Effect": "Allow", | |
"Action": "*", | |
"Resource": "*", | |
"Condition": { | |
"StringLike": { | |
"aws:PrincipalOrgPaths": [ | |
"o-1234567890/*", | |
"o-0987654321/*" | |
] | |
} | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment