Ravi Sir's Cards › AWS
Execution role vs task role?
This interview card answers: Execution role vs task role? Execution role — ECS pulls images, writes logs. Task role — your app calls AWS. Mixing them up causes pull or AccessDenied errors.
Read card text
What this card says
What it is
Execution role: ECS pulls images, writes logs.
Why it matters
Task role: your app calls AWS.
taskRoleArn
How / example
Mixing them up causes pull or AccessDenied errors.