Reputation: 9387
In terraform how do is set the volume type when defining ecs taskdefinition volume. Is there a way to define volume type "Bind Mount" in terrafrom. The documentation does not seems to provide any details
Upvotes: 1
Views: 1204
Reputation: 238189
You have to just create is as follows:
volume {
name = "my-bind-volume"
}
If you want specific path you can use:
volume {
name = "my-bind-volume"
host_path = "/ecs/service-storage"
}
Upvotes: 2