alex / ecs-terraform

ECS + Terraform = Crazy delicious
BSD 3-Clause "New" or "Revised" License
203 stars 102 forks source link

introduce volumes #1

Closed cordoval closed 8 years ago

cordoval commented 8 years ago

thank you, exactly what i needed, btw can we introduce this for volumes since the example from amazon has it?

resource "aws_ecs_task_definition" "test-http" {
    family = "test-http"
   volume = ....
    container_definitions = "${file("task-definitions/test-http.json")}"
}
alex commented 8 years ago

Everything in services.tf is intended to be provided by your application. Probably it should be moved into an examples/ directory or something. All you need to do is write your own aws_ecs_task_definition resource and provide container_definitions.

cordoval commented 8 years ago

yes agree