ECS Docker Compose - External Volumes - "External option is not supported"

Expected behavior

I am “converting” the local docker-compose.yml from my dev Docker CE instance to AWS’ ECS service, using the ecs-cli compose up command. I cd into the working directory containing the files:

  • docker-compose.yml

  • acs-params.yml

  • .env (or other environment files)

In my dev environment, I use Docker volumes with different uses. One use is to “externally” create a volume (which contains pre-defined data on it) which is then mounted into a volume on future containers that are deployed. My docker-compose would look like the following:

version: ‘3’

services:
  busybox:
    image: busybox:1.13.1
    volumes:
      - external_volume:/container/file/system

volumes:
  external_volume:
    external: true

Actual behavior

If I run this with the ecs-cli, it returns “External option is not supported”.

What changes do I need to make?

Additional Information

Steps to reproduce the behavior