Skip to content

Commit 983783a

Browse files
Add DescribeRouteTables to load balancer controller permissions (#8447)
1 parent 9a6ca14 commit 983783a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

pkg/cfn/builder/iam_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,7 @@ const expectedAWSLoadBalancerControllerPolicyDocument = `{
501501
"ec2:DescribeCoipPools",
502502
"ec2:GetSecurityGroupsForVpc",
503503
"ec2:DescribeIpamPools",
504+
"ec2:DescribeRouteTables",
504505
"elasticloadbalancing:DescribeLoadBalancers",
505506
"elasticloadbalancing:DescribeLoadBalancerAttributes",
506507
"elasticloadbalancing:DescribeListeners",

pkg/cfn/builder/statement.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ func loadBalancerControllerStatements() []cft.MapOfInterfaces {
4141
"ec2:DescribeCoipPools",
4242
"ec2:GetSecurityGroupsForVpc",
4343
"ec2:DescribeIpamPools",
44+
"ec2:DescribeRouteTables",
4445
"elasticloadbalancing:DescribeLoadBalancers",
4546
"elasticloadbalancing:DescribeLoadBalancerAttributes",
4647
"elasticloadbalancing:DescribeListeners",

0 commit comments

Comments
 (0)