You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the declarative agent declaration to define or extend an agent with the Fargate launch type, the plugin fails to register the Task Definition with an error that states:
[jenkins-60gn8]: Error in provisioning; agent=com.cloudbees.jenkins.plugins.amazonecs.ECSSlave[jenkins-60gn8]
com.amazonaws.services.ecs.model.ClientException: Fargate requires task definition to have execution role ARN to support ECR images. (Service: AmazonECS; Status Code: 400; Error Code: ClientException; Request ID: eb36ec6a-6c41-11e9-ae73-89fda2289aa7)
Upon doing some digging, it looks like com.cloudbees.jenkins.plugins.amazonecs.pipeline.ECSDeclarativeAgent does not have a property for executionRole but com.cloudbees.jenkins.plugins.amazonecs.ECSTaskTemplate does. I believe this is leading to the execution role not being passed in the RegisterTaskDefinition call.
The text was updated successfully, but these errors were encountered:
When using the declarative agent declaration to define or extend an agent with the Fargate launch type, the plugin fails to register the Task Definition with an error that states:
Upon doing some digging, it looks like
com.cloudbees.jenkins.plugins.amazonecs.pipeline.ECSDeclarativeAgent
does not have a property forexecutionRole
butcom.cloudbees.jenkins.plugins.amazonecs.ECSTaskTemplate
does. I believe this is leading to the execution role not being passed in theRegisterTaskDefinition
call.The text was updated successfully, but these errors were encountered: