|
5 | 5 | data "aws_iam_policy_document" "this" {
|
6 | 6 | count = (local.irsa_role_create && var.irsa_policy_enabled) || (local.eks_pod_identity_role_create && var.eks_pod_identity_policy_enabled) ? 1 : 0
|
7 | 7 |
|
8 |
| - # https://github.com/kubernetes-sigs/aws-load-balancer-controller/blob/v2.10.1/docs/install/iam_policy.json |
| 8 | + # https://github.com/kubernetes-sigs/aws-load-balancer-controller/blob/v2.11.0/docs/install/iam_policy.json |
9 | 9 | #checkov:skip=CKV_AWS_109:The official documentation was used to define these policies
|
10 | 10 | #checkov:skip=CKV_AWS_111:The official documentation was used to define these policies
|
11 | 11 | #checkov:skip=CKV_AWS_356
|
@@ -50,7 +50,8 @@ data "aws_iam_policy_document" "this" {
|
50 | 50 | "elasticloadbalancing:DescribeTargetGroupAttributes",
|
51 | 51 | "elasticloadbalancing:DescribeTargetHealth",
|
52 | 52 | "elasticloadbalancing:DescribeTags",
|
53 |
| - "elasticloadbalancing:DescribeTrustStores" |
| 53 | + "elasticloadbalancing:DescribeTrustStores", |
| 54 | + "elasticloadbalancing:DescribeCapacityReservation" |
54 | 55 | ]
|
55 | 56 | resources = ["*"]
|
56 | 57 | }
|
@@ -247,7 +248,8 @@ data "aws_iam_policy_document" "this" {
|
247 | 248 | "elasticloadbalancing:DeleteLoadBalancer",
|
248 | 249 | "elasticloadbalancing:ModifyTargetGroup",
|
249 | 250 | "elasticloadbalancing:ModifyTargetGroupAttributes",
|
250 |
| - "elasticloadbalancing:DeleteTargetGroup" |
| 251 | + "elasticloadbalancing:DeleteTargetGroup", |
| 252 | + "elasticloadbalancing:ModifyCapacityReservation" |
251 | 253 | ]
|
252 | 254 | resources = ["*"]
|
253 | 255 | condition {
|
|
0 commit comments