ECS task definitions that have volumes using EFS configuration should explicitly enable in transit encryption to prevent the risk of data loss due to interception.
Intercepted traffic to and from EFS may lead to data loss
Enable in transit encryption when using efs
The following example will fail the aws-ecs-enable-in-transit-encryption check.
The following example will pass the aws-ecs-enable-in-transit-encryption check.