Skip to content

Commit 151a60c

Browse files
committed
Explicitly grant ELB AddTags permission
As per AWS customer notifications, the elasticloadbalancing:AddTags permission will be required soon for anyone calling CreateLoadBalancer with tags: > On June 1, 2023, we will be adding an additional layer of security to > ELB ‘Create*' API calls where API callers must have explicit access to > add tags in their Identity and Access Management (IAM) policy [1]. > Currently, access to attach tags was implicitly granted with access to > 'Create*' APIs. … We will be allowing 'Create*' API calls with the > current policy to be accepted until August 30, 2023. After this date, > the 'Create*' API call will fail and return an error if the the > attribute is specified and permission is not granted.
1 parent 10aaf18 commit 151a60c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/iam-role-for-service-accounts-eks/policies.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -795,6 +795,7 @@ data "aws_iam_policy_document" "load_balancer_controller" {
795795

796796
statement {
797797
actions = [
798+
"elasticloadbalancing:AddTags",
798799
"elasticloadbalancing:CreateLoadBalancer",
799800
"elasticloadbalancing:CreateTargetGroup",
800801
]
@@ -809,6 +810,7 @@ data "aws_iam_policy_document" "load_balancer_controller" {
809810

810811
statement {
811812
actions = [
813+
"elasticloadbalancing:AddTags",
812814
"elasticloadbalancing:CreateListener",
813815
"elasticloadbalancing:DeleteListener",
814816
"elasticloadbalancing:CreateRule",

0 commit comments

Comments
 (0)