Skip to content

0.8.0 Make volumes configurable

Compare
Choose a tag to compare
@aknysh aknysh released this 28 Jan 15:19

what

  • Make volumes configurable

why

Allows to add volume definitions to task like this

module "alb_service_task" {
  source                    = "../terraform-aws-ecs-alb-service-task"
  volumes = [
    {
      name = "${module.label_base.id}-data"
      docker_volume_configuration = [
        {
          scope         = "shared"
          autoprovision = true
        },
      ]
    },
  ]
}