-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Add property to OU which represents their path in the organization (aws:PrincipalOrgPaths) #44993
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…or an Organization entity.
OU, Org resources and their corresponding data resources.
an org the AWS API does not list it as parent.
Community GuidelinesThis comment is added to every new Pull Request to provide quick reference to how the Terraform AWS Provider is maintained. Please review the information below, and thank you for contributing to the community that keeps the provider thriving! 🚀 Voting for Prioritization
Pull Request Authors
|
…or an Organization entity.
OU, Org resources and their corresponding data resources.
an org the AWS API does not list it as parent.
…Path-33623' of github.com:yves-vogl/terraform-provider-aws into f-aws_organizations_organizational_unit-awsPrincipalOrgPath-33623
|
|
This probably will close #30656 |
removed mocked tests as they need interface abstraction which is not used to be done here.
Changed base to fix this |
Description
To allow restricting e.g. AWS CloudWatch OAM Policy allows to use aws:PrincipalOrgPaths.
In certain cases it'd be convenient to get the path of an OU to restrict to its accounts.
It could be done by using regex on a concatenated string of data.aws_organizations_organizational_units.children[*].id but having aws_organizations_organizational_unit.principal_org_path as readable attribute would be more usable.
Relations
Closes #33623
References