terraform-aws-ecs-web-app icon indicating copy to clipboard operation
terraform-aws-ecs-web-app copied to clipboard

Support declaring individual efs, docker, fsx volumes for tasks

Open jbcom opened this issue 2 years ago • 2 comments

what

  • Supports declaring separate volumes for efs, docker, and fsx
  • This also decouples name and host_path which are expected to be passed uniquely in each volume variable declaration
  • Maintains backwards compatibility by pulling apart the deprecated volumes variable into the new expected format

why

  • terraform-aws-ecs-alb-service-task expects each of efs, docker, and fsx volumes to be passed separately
  • Also expects name and host_port to be declared in each of the volume variable declarations
  • Also allows for support for FSX volumes which are supported in the service-task module but not in this one.

references

  • https://github.com/cloudposse/terraform-aws-ecs-web-app/pull/205 partially implements this functionality but does not preserve backwards compatibility and does not setup FSX volumes

jbcom avatar Nov 16 '22 17:11 jbcom

Is this ready to go? Seems like formatting failed.

mihaiplesa avatar Jan 12 '23 15:01 mihaiplesa

/terratest

hans-d avatar Mar 02 '24 23:03 hans-d