Skip to content

Commit

Permalink
Added additional policies required for targetgroup binding to work wi…
Browse files Browse the repository at this point in the history
…th AWS LBC (terraform-aws-modules#292)

Co-authored-by: Arvid Mildner <[email protected]>
  • Loading branch information
apamildner and Arvid Mildner authored Oct 18, 2022
1 parent a95cceb commit 2f53f61
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/iam-role-for-service-accounts-eks/policies.tf
Original file line number Diff line number Diff line change
Expand Up @@ -863,12 +863,14 @@ data "aws_iam_policy_document" "load_balancer_controller_targetgroup_only" {
"ec2:DescribeSecurityGroups",
"ec2:DescribeInstances",
"ec2:DescribeVpcs",
"ec2:AuthorizeSecurityGroupIngress",
"ec2:RevokeSecurityGroupIngress",
"elasticloadbalancing:DescribeTargetGroups",
"elasticloadbalancing:DescribeTargetHealth",
"elasticloadbalancing:ModifyTargetGroup",
"elasticloadbalancing:ModifyTargetGroupAttributes",
"elasticloadbalancing:RegisterTargets",
"elasticloadbalancing:DeregisterTargets"
"elasticloadbalancing:DeregisterTargets",
]

resources = ["*"]
Expand Down

0 comments on commit 2f53f61

Please sign in to comment.