terraform-provider-aws
terraform-provider-aws copied to clipboard
Add Organizations policy data source
Description
Add a data source for Organization policy. Allow lookup by name or ARN.
New Data Source
- aws_organizations_policy
Data Source Configuration
name: String,ExactlyOneOf: []string{"name", "arn"}, Computedarn: String,ExactlyOneOf: []string{"name", "arn"}, Computed
Outputs:
content: Stringdescription: Stringtype: Stringtags: Map, cannot be read from AWS-managed policies
References
- #15347
Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label.
If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!
+1 interested
This would be really nice.
This would be great to have for one of my projects where I need to look up if an SCP already exists
Also interseted
This functionality has been released in v4.67.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.
For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.