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

Backport of Adding new required policies to ecs odr into release/0.10.x #4306

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changelog/4296.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
plugin/ecs: `runner install` now creates aws policies to facilitate remotely running StopTask and WatchTask jobs
```
2 changes: 2 additions & 0 deletions internal/runnerinstall/ecs.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ const odrRolePolicy = `{
"ecs:RegisterTaskDefinition",
"ecs:DeregisterTaskDefinition",
"ecs:RunTask",
"ecs:StopTask",
"elasticloadbalancing:CreateListener",
"elasticloadbalancing:CreateLoadBalancer",
"elasticloadbalancing:CreateRule",
Expand All @@ -100,6 +101,7 @@ const odrRolePolicy = `{
"logs:CreateLogGroup",
"logs:DescribeLogGroups",
"logs:DescribeLogStreams",
"logs:GetLogEvents",
"route53:ChangeResourceRecordSets",
"route53:ListResourceRecordSets"
],
Expand Down