File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed
modules/iam-role-for-service-accounts-eks Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 22
33All notable changes to this project will be documented in this file.
44
5+ ## [ 5.16.0] ( https://github.com/terraform-aws-modules/terraform-aws-iam/compare/v5.15.0...v5.16.0 ) (2023-03-27)
6+
7+
8+ ### Features
9+
10+ * Add ` elasticloadbalancing:AddTags ` permissions to AWS Load Balancer Controller policy required for version 2.4.7+ ([ #358 ] ( https://github.com/terraform-aws-modules/terraform-aws-iam/issues/358 ) ) ([ e1403c1] ( https://github.com/terraform-aws-modules/terraform-aws-iam/commit/e1403c15285137147db2698465e794d17059c848 ) )
11+
512## [ 5.15.0] ( https://github.com/terraform-aws-modules/terraform-aws-iam/compare/v5.14.4...v5.15.0 ) (2023-03-27)
613
714
Original file line number Diff line number Diff line change @@ -874,6 +874,32 @@ data "aws_iam_policy_document" "load_balancer_controller" {
874874 }
875875 }
876876
877+ statement {
878+ actions = [
879+ " elasticloadbalancing:AddTags"
880+ ]
881+ resources = [
882+ " arn:${ local . partition } :elasticloadbalancing:*:*:targetgroup/*/*" ,
883+ " arn:${ local . partition } :elasticloadbalancing:*:*:loadbalancer/net/*/*" ,
884+ " arn:${ local . partition } :elasticloadbalancing:*:*:loadbalancer/app/*/*" ,
885+ ]
886+
887+ condition {
888+ test = " StringEquals"
889+ variable = " elasticloadbalancing:CreateAction"
890+ values = [
891+ " CreateTargetGroup" ,
892+ " CreateLoadBalancer" ,
893+ ]
894+ }
895+
896+ condition {
897+ test = " Null"
898+ variable = " aws:RequestTag/elbv2.k8s.aws/cluster"
899+ values = [" false" ]
900+ }
901+ }
902+
877903 statement {
878904 actions = [
879905 " elasticloadbalancing:RegisterTargets" ,
You can’t perform that action at this time.
0 commit comments