-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
An aws_organizations data source using list-accounts-for-parent #11268
Comments
Hi @johnkeates 👋 Thank you for submitting this. I believe this is covered by the previous #9884 and associated pull request #10395. To consolidate efforts and discussions, I'm going to close this issue in preference of the earlier ones. 👍 |
Ah, sorry, this is centered around accounts and not underlying OUs -- reopening! |
Yeah, it's a slightly different scope, and mostly just because of a current AWS limitation. As far as I know there is no other way for a managed AWS Organisation to delegate OU sub-account read access besides the |
Now that initial SSOAdmin support has been released in #15108, it would be great if we could have this data source added. This would allow operations such as assigning a permissionset to a group for every account within an OU. |
I think #18589 is attempting to do this but seems to be stalled |
I think that we can either close or re-define this issue now since it has been fixed in v4.55.0 for the queries made to the Organization Management Account with:
I have written up how to make use of these features in an article on my website to cover exactly the sceantrio described by @willhughes-au 2 years ago |
Warning This issue has been closed, meaning that any additional comments are hard for our team to see. Please assume that the maintainers will not see them. Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed. |
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. |
Community Note
Description
For MSPs with delegated AWS Organisations OU for their clients it would be very helpful for those clients if we can use a data source that has read access to the specific delegated OU for that client. For example, a CLI call might look like
aws organizations list-accounts-for-parent --parent-id ou-abcd-e3e3e3e
and return all the accounts for that client that are added to the managed OU by the MSP. The MSP can limit the scope of those delegated access roles to only the OU for that specific client. This is not possible with other organizations API calls.New or Affected Resource(s)
Potential Terraform Configuration
References
The text was updated successfully, but these errors were encountered: