Skip to content

Commit 144ced0

Browse files
[ndr-387] removed repeated permissions
1 parent 3ec1c88 commit 144ced0

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

base_iam/iam_github_pre-prod_prod.tf

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -56,25 +56,6 @@ resource "aws_iam_policy" "github_actions_pre-prod_prod" {
5656
Effect = "Allow"
5757
Resource = "*"
5858
},
59-
{
60-
Action = [
61-
"elasticloadbalancing:AddTags",
62-
"elasticloadbalancing:RemoveTags"
63-
]
64-
Effect = "Allow"
65-
Resource = [
66-
"arn:aws:elasticloadbalancing:*:${data.aws_caller_identity.current.account_id}:listener-rule/app/*/*/*/*",
67-
"arn:aws:elasticloadbalancing:*:${data.aws_caller_identity.current.account_id}:listener-rule/net/*/*/*/*",
68-
"arn:aws:elasticloadbalancing:*:${data.aws_caller_identity.current.account_id}:listener/app/*/*/*",
69-
"arn:aws:elasticloadbalancing:*:${data.aws_caller_identity.current.account_id}:listener/gwy/*/*/*",
70-
"arn:aws:elasticloadbalancing:*:${data.aws_caller_identity.current.account_id}:listener/net/*/*/*",
71-
"arn:aws:elasticloadbalancing:*:${data.aws_caller_identity.current.account_id}:loadbalancer/app/*/*",
72-
"arn:aws:elasticloadbalancing:*:${data.aws_caller_identity.current.account_id}:loadbalancer/gwy/*/*",
73-
"arn:aws:elasticloadbalancing:*:${data.aws_caller_identity.current.account_id}:loadbalancer/net/*/*",
74-
"arn:aws:elasticloadbalancing:*:${data.aws_caller_identity.current.account_id}:targetgroup/*/*",
75-
"arn:aws:elasticloadbalancing:*:${data.aws_caller_identity.current.account_id}:truststore/*/*"
76-
]
77-
},
7859
{
7960
Action = [
8061
"states:CreateStateMachine",

0 commit comments

Comments
 (0)