Skip to content

Commit 7fbe7ec

Browse files
authored
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 7fbe7ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 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
]

0 commit comments

Comments
 (0)