terraform-aws-ecs-service icon indicating copy to clipboard operation
terraform-aws-ecs-service copied to clipboard

iam:PassRole perms required

Open JonRoma opened this issue 6 years ago • 0 comments

Issue by eccoleman Thursday May 03, 2018 at 15:47 GMT Originally opened as https://github.com/cites-illinois/as-aws-modules/issues/25


Note that users of the ecs-service module need iam:PassRole perms.

Error: Error applying plan:

1 error(s) occurred:

* aws_ecs_task_definition.fargate: 1 error(s) occurred:

* aws_ecs_task_definition.fargate: AccessDeniedException: User: arn:aws:sts::224588347132:assumed-role/ASTestPowerUser/[email protected] is not authorized to perform: iam:PassRole on resource: arn:aws:iam::224588347132:role/ecsTaskExecutionRole
        status code: 400, request id: c90fdff2-4ee8-11e8-bf30-f79a4fa28fc3

Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.


[terragrunt] 2018/05/03 10:43:57 Hit multiple errors:
exit status 1

JonRoma avatar Oct 30 '18 02:10 JonRoma