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?
CodePudding user response:
When creating a new role make sure you choose elastic container service task
Or
If you can edit the existing role, enter the trusted entity, and edit with the following