hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.85k stars 9.19k forks source link

[New]: AWS IAM Centralize root access for member accounts #40173

Closed tomhunte closed 1 hour ago

tomhunte commented 2 hours ago

Description

Enable ability to centralize IAM Root Access

Requested Resource(s) and/or Data Source(s)

aws_iam_centralize_root_access

Potential Terraform Configuration

resource "aws_iam_centralize_root_access" "this" {
    enabled_features = [
        "RootCredentialsManagement",
        "RootSessions"
    ]
    organization_id = "o-1a2bExample"
}

References

https://docs.aws.amazon.com/IAM/latest/UserGuide/id_root-enable-root-access.html https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/iam#Client.EnableOrganizationsRootCredentialsManagement

Would you like to implement a fix?

Yes

github-actions[bot] commented 2 hours ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue

tomhunte commented 2 hours ago

I'd like to work on this feature.

aristosvo commented 2 hours ago

Hi @tomorrow! 👋🏼

This seems to be a duplicate of #40151, which has already a PR for it: #40164.

tomhunte commented 1 hour ago

Thanks for finding the duplicate! Closing.

github-actions[bot] commented 1 hour 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.