Skip to content

Commit

Permalink
feat: add policies for AWS LBC v2.11.0
Browse files Browse the repository at this point in the history
See https://github.com/kubernetes-sigs/aws-load-balancer-controller/releases/tag/v2.11.0

> We've updated the reference IAM policies to explicitly add the elasticloadbalancing:DescribeCapacityReservation and elasticloadbalancing:ModifyCapacityReservation permissions for describing and modifying capacity reservation. Please be sure to apply the latest IAM policy when upgrading.
  • Loading branch information
islishude committed Dec 13, 2024
1 parent e20e0b9 commit b75cd1a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/iam-role-for-service-accounts-eks/policies.tf
Original file line number Diff line number Diff line change
Expand Up @@ -853,6 +853,7 @@ data "aws_iam_policy_document" "load_balancer_controller" {
"elasticloadbalancing:DescribeTags",
"elasticloadbalancing:DescribeTrustStores",
"elasticloadbalancing:DescribeListenerAttributes",
"elasticloadbalancing:DescribeCapacityReservation",
]
resources = ["*"]
}
Expand Down Expand Up @@ -1015,6 +1016,7 @@ data "aws_iam_policy_document" "load_balancer_controller" {
"elasticloadbalancing:ModifyTargetGroupAttributes",
"elasticloadbalancing:DeleteTargetGroup",
"elasticloadbalancing:ModifyListenerAttributes",
"elasticloadbalancing:ModifyCapacityReservation",
]
resources = ["*"]

Expand Down

0 comments on commit b75cd1a

Please sign in to comment.