boomchickawawa
boomchickawawa

Reputation: 556

Add a specific IAM role to the ECS task definition

I have an ECS task running a container that requires permissions from resources, that are all a part of a specific IAM role. I am trying to add that specific role to the task definition on the console, but the only role I see is the auto-generated one by ECS.

I don't see all the IAM role in the dropdown. How do I access them? enter image description here

Upvotes: 1

Views: 1218

Answers (1)

Mhamd Bahja
Mhamd Bahja

Reputation: 157

When creating a new role make sure you choose elastic container service task

enter image description here

Or

If you can edit the existing role, enter the trusted entity, and edit with the following

enter image description here

Upvotes: 3

Related Questions