Task Role vs Execution Role
An app in an ECS task must read objects from an S3 bucket. Which role gets the s3:GetObject permission?
s3:GetObject
Part of Cloud Architecture in Practice. Next step: AWS Access for One Pod
Choose one answer
The service-linked role for ECS, which is used by every task's app code.
The task role, whose credentials the containers' code receives.
The task execution role, which ECS also passes into the running container.
The container instance role, which every task on the cluster inherits.