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.88k stars 9.22k forks source link

[New Resource]: `aws_ssoadmin_managed_policy_attachments_exclusive` #39822

Open jar-b opened 1 month ago

jar-b commented 1 month ago

Description

Manage IAM managed policies assigned to an SSO Admin permission set. Related resource:

aws_ssoadmin_permission_set aws_ssoadmin_managed_policy_attachment

Relates #39376

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

Potential Terraform Configuration

resource "aws_ssoadmin_managed_policy_attachments_exclusive" "example" {
  instance_arn       = tolist(data.aws_ssoadmin_instances.example.arns)[0]
  permission_set_arn = aws_ssoadmin_permission_set.example.arn

  managed_policy_arns = [
    "arn:aws:iam::aws:policy/AlexaForBusinessDeviceSetup",
  ]
}

References

Would you like to implement a fix?

None

github-actions[bot] commented 1 month ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue

yadavajay2055 commented 1 month ago

Interested in working on the creation of this new resource as i work predominantly in the IAM, please assign

justinretzolk commented 1 month ago

Relates #33242 Relates #28113