Control: ECS Task definition should have different Execution Role ARN and Task Role ARN
Description
This control checks whether the Execution Role ARN and the Task Role ARN are different in ECS Task definitions.
Usage
Run the control in your terminal:
powerpipe control run terraform_aws_compliance.control.ecs_task_definition_role_check
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run terraform_aws_compliance.control.ecs_task_definition_role_check --share
SQL
This control uses a named query:
ecs_task_definition_role_check