We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 758cad9 commit 35daa17Copy full SHA for 35daa17
main.tf
@@ -90,11 +90,8 @@ resource "aws_iam_role_policy_attachment" "s3_full_access" {
90
resource "aws_iam_role_policy_attachment" "custom" {
91
count = local.create_iam_role ? length(var.iam_role_policy_arns) : 0
92
93
- role = aws_iam_role.github[0].id
94
- policy_arn = format(
95
- "arn:%v:iam::aws:policy/AdministratorAccess",
96
- data.aws_partition.this[0].partition,
97
- )
+ policy_arn = var.iam_role_policy_arns[count.index]
+ role = aws_iam_role.github[0].id
98
}
99
100
resource "aws_iam_openid_connect_provider" "github" {
0 commit comments