Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 747 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 747 Bytes

data.terraform.aws.aws_iam_policy_attachment - Prohibit use of aws_iam_policy_attachment

aws_iam_policy_attachment creates an exclusive attachment of IAM policies. If the IAM policy is attached to any other user(s), role(s) and/or group(s) via another aws_iam_policy_attachment the original user(s), role(s) and/or group(s) will get the attached IAM policy revoked.

aws_iam_role_policy_attachment, aws_iam_user_policy_attachment and aws_iam_group_policy_attachment can be always used instead and do not have any exclusive attachment.

References