Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.

Commit

Permalink
fix: update v2 policy
Browse files Browse the repository at this point in the history
  • Loading branch information
neilkuan committed Nov 8, 2020
1 parent 0f3cb3e commit a77135b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/alb-controller-policy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,6 @@ const awsLoadBalancerControllerPolicyV2 = [
'elasticloadbalancing:DeleteLoadBalancer',
'elasticloadbalancing:ModifyTargetGroup',
'elasticloadbalancing:ModifyTargetGroupAttributes',
'elasticloadbalancing:RegisterTargets',
'elasticloadbalancing:DeregisterTargets',
'elasticloadbalancing:DeleteTargetGroup',
],
Resource: '*',
Expand All @@ -260,6 +258,14 @@ const awsLoadBalancerControllerPolicyV2 = [
},
},
},
{
Effect: 'Allow',
Action: [
'elasticloadbalancing:RegisterTargets',
'elasticloadbalancing:DeregisterTargets',
],
Resource: 'arn:aws:elasticloadbalancing:*:*:targetgroup/*/*',
},
{
Effect: 'Allow',
Action: [
Expand Down

0 comments on commit a77135b

Please sign in to comment.