We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1049c0 commit 54bdf4bCopy full SHA for 54bdf4b
examples/fargate/main.tf
@@ -191,6 +191,11 @@ module "ecs_task_definition" {
191
# Task Definition
192
volume = {
193
ex-vol = {}
194
+ ex-vol2 = {
195
+ host_path = "/tmp"
196
+ # Only one volume can be configured at launch
197
+ configure_at_launch = true
198
+ }
199
}
200
201
runtime_platform = {
modules/service/main.tf
@@ -733,8 +733,9 @@ resource "aws_ecs_task_definition" "this" {
733
734
735
736
- host_path = try(volume.value.host_path, null)
737
- name = try(volume.value.name, volume.key)
+ host_path = try(volume.value.host_path, null)
+ name = try(volume.value.name, volume.key)
738
+ configure_at_launch = try(volume.value.configure_at_launch, null)
739
740
741
0 commit comments