terraform-aws-ecs-scheduled-task icon indicating copy to clipboard operation
terraform-aws-ecs-scheduled-task copied to clipboard

Add support for adding task roles to the task

Open djt5019 opened this issue 4 years ago • 1 comments

Hi, I've tried using your module and it's pretty solid. The one thing I noticed is that the module did not allow for setting a task role. Without this the container is not able to interact with the various AWS APIs, so some code was kicking back errors.

This addition will allow your task to interact with the metadata api as well as other AWS services. This role is what the container will assume when it is running.

https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html

djt5019 avatar May 05 '20 23:05 djt5019

@djt5019 it doesn't seem like anyone is supporting this. Do you mind forking this module?

acepace avatar Nov 23 '20 11:11 acepace