Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS ECS Fargate not creating task AmazonECSTaskExecutionRole error

I'm trying to launch a test task in a ECS Fargate environment from the AWS console, but every time I try to launch it, I have the error:

Execution Role Failed creation of AmazonECSTaskExecutionRole

I supposed that it was a permissions error, so I asked the account owner (I am a IAM user of another account) to give me them, and now I do but still doesn't work.

My current permissions for ECS are:

  • AmazonECS_FullAccess
  • AmazonECSTaskExecutionRolePolicy

The worst thing is that AWS doesn't give any kind of information about this error. Anyone have an idea of how to make it work?

Thank you in advance!

like image 384
Jorge Peris Avatar asked Jul 06 '18 09:07

Jorge Peris


1 Answers

You need the "iam:createRole" permission.

like image 68
mpon Avatar answered Oct 16 '22 19:10

mpon