Free plan Signups are open now. The full audytx engine — Terraform and CloudFormation — is live. The Free plan is 100 scans a month and stays free — paid tiers arrive Nov 01, 2026 from $20/month for unlimited repositories. Try it on your own code.

ECS task definition should specify a task role for fine-grained IAM access

AWS_ECS_004 MEDIUM Security

What it checks

ECS task definition should specify a task role for fine-grained IAM access

Where it applies

Terraform: aws_ecs_task_definition

CloudFormation: AWS::ECS::TaskDefinition

How to fix it

  1. Create a task-specific IAM role with the minimum permissions the task needs. Set task_role_arn to isolate permissions per task.

Frameworks

These mappings are advisory, not an attestation of compliance.

Vendor documentation

All rules