From 7e2d00b0bcad1d2fc240b08ba0aa20b5a9992a2a Mon Sep 17 00:00:00 2001 From: Joseph Rajewski <83741749+paladin-devops@users.noreply.github.com> Date: Wed, 21 Jun 2023 19:35:43 +0000 Subject: [PATCH] backport of commit 2625cd7396490f0067819887065a0aacb5796a3c --- .changelog/4818.txt | 4 ++++ internal/runnerinstall/ecs.go | 1 + 2 files changed, 5 insertions(+) create mode 100644 .changelog/4818.txt diff --git a/.changelog/4818.txt b/.changelog/4818.txt new file mode 100644 index 00000000000..69bf2b83866 --- /dev/null +++ b/.changelog/4818.txt @@ -0,0 +1,4 @@ +```release-note:bug +runnerinstall/aws-ecs: Fix ODR policy for AWS ECS runners to enable adding tags +to an ALB. +``` \ No newline at end of file diff --git a/internal/runnerinstall/ecs.go b/internal/runnerinstall/ecs.go index d68370e3ec7..b35f02fc866 100644 --- a/internal/runnerinstall/ecs.go +++ b/internal/runnerinstall/ecs.go @@ -84,6 +84,7 @@ const odrRolePolicy = `{ "ecs:DeregisterTaskDefinition", "ecs:RunTask", "ecs:StopTask", + "elasticloadbalancing:AddTags", "elasticloadbalancing:CreateListener", "elasticloadbalancing:CreateLoadBalancer", "elasticloadbalancing:CreateRule",