gocd / gocd-ecs-elastic-agent

GoCD Elastic Agent Plugin for Amazon EC2 Container Service, which allows you to run elastic (dynamic) GoCD agents on Amazon ECS.
https://www.gocd.org
Apache License 2.0
8 stars 7 forks source link

ECS agents fail to launch due to "role is not valid" errors since Aug 2024 #351

Closed chadlwilson closed 1 month ago

chadlwilson commented 1 month ago

Something seems to have changed on AWS side, causing RegisterTaskDefinition to fail whenever TaskRoleArn is unset for an elastic profile. This needs to ClientExceptions mentioning Role is not valid for no apparent reason where they were working fine before.

chadlwilson commented 1 month ago

Fixed in 01ebeeb3a0b16d563a95eea80bc9af86ad555edb and https://github.com/gocd/gocd-ecs-elastic-agent/releases/tag/v7.4.1-699