When starting up an Amazon ECS task with launch type FARGATE it fails with the following reason:
ResourceInitializationError: failed to invoke EFS utils commands to set up EFS volumes: command failed with 32: failed to execute command to invoke EFS utils: mount.nfs4:
Connection timed out
The fargate task is a docker image that needs to mount EFS as persistent storage.
Why is the connection timing out?