eddmann / serverless-fargate

Maintain long-running Fargate ECS tasks within your Serverless project
53 stars 22 forks source link

Specific IAM permissions for each task #33

Closed HerRomero closed 1 year ago

HerRomero commented 1 year ago

Is it possible to set specific permissions for each task individually? Deploy fails if I add the iamRoleStatements property under tasks/my-task

eddmann commented 1 year ago

Hey, at this time you can only specify additional permissions on the default used taskRoleArn. You can however create your own taskRoleArn/executionRoleArn resources and supply them at the task level.