Skip to content

Commit d0f8b49

Browse files
[ndr-387] removed index on permis
1 parent 227b4e1 commit d0f8b49

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

base_iam/iam_github_dev_test_pre-prod_prod.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ resource "aws_iam_role_policy_attachment" "ReadOnlyAccess" {
99
resource "aws_iam_role_policy_attachment" "github_actions_dev_test_pre-prod_prod_1" {
1010

1111
role = aws_iam_role.github_actions.name
12-
policy_arn = aws_iam_policy.github_actions_dev_test_pre-prod_prod_1[0].arn
12+
policy_arn = aws_iam_policy.github_actions_dev_test_pre-prod_prod_1.arn
1313
}
1414

1515
resource "aws_iam_policy" "github_actions_dev_test_pre-prod_prod_1" {
@@ -120,7 +120,7 @@ resource "aws_iam_policy" "github_actions_dev_test_pre-prod_prod_1" {
120120

121121
resource "aws_iam_role_policy_attachment" "github_actions_dev_test_pre-prod_prod_2" {
122122
role = aws_iam_role.github_actions.name
123-
policy_arn = aws_iam_policy.github_actions_dev_test_pre-prod_prod_2[0].arn
123+
policy_arn = aws_iam_policy.github_actions_dev_test_pre-prod_prod_2.arn
124124
}
125125

126126
resource "aws_iam_policy" "github_actions_dev_test_pre-prod_prod_2" {
@@ -270,7 +270,7 @@ resource "aws_iam_policy" "github_actions_dev_test_pre-prod_prod_2" {
270270

271271
resource "aws_iam_role_policy_attachment" "github_actions_dev_test_pre-prod_prod_3" {
272272
role = aws_iam_role.github_actions.name
273-
policy_arn = aws_iam_policy.github_actions_dev_test_pre-prod_prod_3[0].arn
273+
policy_arn = aws_iam_policy.github_actions_dev_test_pre-prod_prod_3.arn
274274
}
275275

276276
resource "aws_iam_policy" "github_actions_dev_test_pre-prod_prod_3" {

0 commit comments

Comments
 (0)