aws-actions/amazon-ecs-render-task-definition

Add ability to pass executionRoleArn

bwieckow opened this issue · 3 comments

When using secrets it is required to add this field. In ARN there are sensitive data like region and AWS account number. Please consider adding this feature.

Unexpected input(s) 'executionRoleArn', valid inputs are ['task-definition', 'container-name', 'image']

@bwieckow for either the ECS task role or task execution role, you can specify just the name of the role vs. the full ARN. See: #19

Closing as a duplicate of #19 , but feel free to reopen if issues remain.

avaz commented

Hi,

I think the goal of this task and even #19 was to be able to dynamic change the task executionRoleArn and taskRoleArn from this action. This is helpful when one wants to use different roles per environment in a ECS deployment and not only have the account id automatically fulfilled.

Any chance to reopen this?