Skip to content
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

Add Organizations policy data source #15398

Closed
gdavison opened this issue Sep 29, 2020 · 7 comments · Fixed by #30920
Closed

Add Organizations policy data source #15398

gdavison opened this issue Sep 29, 2020 · 7 comments · Fixed by #30920
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/organizations Issues and PRs that pertain to the organizations service.
Milestone

Comments

@gdavison
Copy link
Contributor

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"}, Computed
  • arn: String, ExactlyOneOf: []string{"name", "arn"}, Computed

Outputs:

  • content: String
  • description: String
  • type: String
  • tags: Map, cannot be read from AWS-managed policies

References

@gdavison gdavison added the enhancement Requests to existing resources that expand the functionality or scope. label Sep 29, 2020
@ghost ghost added the service/organizations Issues and PRs that pertain to the organizations service. label Sep 29, 2020
@github-actions
Copy link

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!

@github-actions github-actions bot added the stale Old or inactive issues managed by automation, if no further action taken these will get closed. label Sep 20, 2022
@araigneeman
Copy link

+1 interested

@github-actions github-actions bot removed the stale Old or inactive issues managed by automation, if no further action taken these will get closed. label Oct 4, 2022
@l1x
Copy link

l1x commented Feb 8, 2023

This would be really nice.

@brunosalvatico
Copy link

This would be great to have for one of my projects where I need to look up if an SCP already exists

@Kostoprav19
Copy link

Also interseted

@github-actions github-actions bot added this to the v4.67.0 milestone May 5, 2023
@github-actions
Copy link

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!

@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/organizations Issues and PRs that pertain to the organizations service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants