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

Conversation

hc-github-team-waypoint
Copy link
Collaborator

Backport

This PR is auto-generated from #4296 to be assessed for backporting due to the inclusion of the label backport/0.10.x.

The below text is copied from the body of the original PR.


Without these, we can't do StopTask or WatchTask jobs with remote runners.

You get these errors:

 rpc error: code = Unknown desc = AccessDeniedException: User: arn:aws:sts::<account-id>:assumed-role/waypoint-runner/<id> is not authorized to perform: logs:GetLogEvents on resource: arn:aws:logs:us-east-1:<account-id>:log-group:waypoint-runner-logs:log-stream:waypoint-odr-task-<id>/waypoint-odr-task-<id>/<id> because no identity-based policy allows the logs:GetLogEvents action
2022-12-09T01:40:30.519Z [WARN]  waypoint.runner.agent.runner: error during job execution: job_id=01GKT8JC6X60X4ZFEET2C6AJEA job_op=*gen.Job_StopTask err="rpc error: code = Unknown desc = AccessDeniedException: User: arn:aws:sts::<account-id>:assumed-role/waypoint-runner/<id> is not authorized to perform: ecs:StopTask on resource: arn:aws:ecs:us-east-1:<account-id>:task/hcp-wp-integration/<id> because no identity-based policy allows the ecs:StopTask action"


Overview of commits

@hc-github-team-waypoint hc-github-team-waypoint force-pushed the backport/more-ecs-odr-policies/truly-wanted-goat branch from 097a773 to e7fdd7d Compare December 9, 2022 18:14
@hc-github-team-waypoint hc-github-team-waypoint merged commit c461a4c into release/0.10.x Dec 9, 2022
@hc-github-team-waypoint hc-github-team-waypoint deleted the backport/more-ecs-odr-policies/truly-wanted-goat branch December 9, 2022 18:14
@github-actions github-actions bot added the core label Dec 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants