简体   繁体   中英

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? 在此处输入图像描述

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

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM