Skip to content

Commit e92ab6e

Browse files
committed
github role: remove admin rights
In theory now that the attached policy (opentofu_policy) has enough permissions (iam, identitystore), we do not need full admin right anymore
1 parent 12a118c commit e92ab6e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

aws/roles.tf

-5
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,3 @@ resource "aws_iam_role_policy_attachment" "github_tf_opentofu_policy_attachment"
8585
role = aws_iam_role.github_tf.name
8686
policy_arn = aws_iam_policy.opentofu_policy.arn
8787
}
88-
89-
resource "aws_iam_role_policy_attachment" "github_tf_administrator_policy_attachment" {
90-
role = aws_iam_role.github_tf.name
91-
policy_arn = "arn:aws:iam::aws:policy/AdministratorAccess"
92-
}

0 commit comments

Comments
 (0)