Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
runnerinstall/aws-ecs: Add AddTags permission to ODR IAM policy.
Browse files Browse the repository at this point in the history
The AWS ECS plugin may need to add tags to an AWS ALB, and therefore needs the AddTags permission to do so.
  • Loading branch information
paladin-devops committed Jun 21, 2023
1 parent aca518e commit 2625cd7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .changelog/4818.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
```release-note:bug
runnerinstall/aws-ecs: Fix ODR policy for AWS ECS runners to enable adding tags
to an ALB.
```
1 change: 1 addition & 0 deletions internal/runnerinstall/ecs.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ const odrRolePolicy = `{
"ecs:DeregisterTaskDefinition",
"ecs:RunTask",
"ecs:StopTask",
"elasticloadbalancing:AddTags",
"elasticloadbalancing:CreateListener",
"elasticloadbalancing:CreateLoadBalancer",
"elasticloadbalancing:CreateRule",
Expand Down

0 comments on commit 2625cd7

Please sign in to comment.