Skip to content

Commit 2f53f61

Browse files
apamildnerArvid Mildner
andauthored
Added additional policies required for targetgroup binding to work with AWS LBC (#292)
Co-authored-by: Arvid Mildner <[email protected]>
1 parent a95cceb commit 2f53f61

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/iam-role-for-service-accounts-eks/policies.tf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,12 +863,14 @@ data "aws_iam_policy_document" "load_balancer_controller_targetgroup_only" {
863863
"ec2:DescribeSecurityGroups",
864864
"ec2:DescribeInstances",
865865
"ec2:DescribeVpcs",
866+
"ec2:AuthorizeSecurityGroupIngress",
867+
"ec2:RevokeSecurityGroupIngress",
866868
"elasticloadbalancing:DescribeTargetGroups",
867869
"elasticloadbalancing:DescribeTargetHealth",
868870
"elasticloadbalancing:ModifyTargetGroup",
869871
"elasticloadbalancing:ModifyTargetGroupAttributes",
870872
"elasticloadbalancing:RegisterTargets",
871-
"elasticloadbalancing:DeregisterTargets"
873+
"elasticloadbalancing:DeregisterTargets",
872874
]
873875

874876
resources = ["*"]

0 commit comments

Comments
 (0)