Deploy python application to AWS ECS with EFS

Actually, the app has been deployed already and worked fine until I decided to configure an application user inside a Docker container. It forced me to use mount points for EFS. It is forbidden to specify Root directory in the Task Definition with mount point enabled i. However, once it saved the Root directory param is in place. So, now I’m getting an error on aws-ecs/deploy-service-update job.
I’ve filed an issue against the repo but I need to get it work somehow now.
What I think is happening is: deploy-service-update is trying to create a new task definition from the previous one, which has "rootDirectory": "/" in it, this is why I’m getting the error.

Error:
An error occurred (ClientException) when calling the RegisterTaskDefinition operation: Root Directory can not be set when using an EFS Access Point.

config.yaml

- aws-ecs/deploy-service-update:
          requires:
            - aws-ecr/build-and-push-image
          filters:
            branches:
              only:
                - dev
          context: deploy
          family: "${FAMILY}"
          cluster-name: "${CLUSTER_NAME}"
          service-name: "${SERVICE_NAME}"
          container-image-name-updates: >
            container=${CONTAINER_NAME},tag=${CIRCLE_SHA1}
          container-env-var-updates: >
            container=${CONTAINER_NAME},name=AWS_ACCESS_KEY_ID,value=${AWS_ACCESS_KEY_ID},
            container=${CONTAINER_NAME},name=AWS_SECRET_ACCESS_KEY,value=${AWS_SECRET_ACCESS_KEY},