When you're using CloudFormation, Terraform, or AWS CDK to deploy Amazon ECS containers with ECS Fargate or EC2.
You might notice that the ECS tasks contain two types of roles, one found in the task definition called the execution role, and the task ...