File tree 1 file changed +18
-0
lines changed
1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -168,6 +168,15 @@ resource "aws_ecs_service" "this" {
168
168
}
169
169
}
170
170
171
+ dynamic "timeout" {
172
+ for_each = try ([service . value . timeout ], [])
173
+
174
+ content {
175
+ idle_timeout_seconds = try (timeout. value . idle_timeout_seconds , null )
176
+ per_request_timeout_seconds = try (timeout. value . per_request_timeout_seconds , null )
177
+ }
178
+ }
179
+
171
180
discovery_name = try (service. value . discovery_name , null )
172
181
ingress_port_override = try (service. value . ingress_port_override , null )
173
182
port_name = service. value . port_name
@@ -356,6 +365,15 @@ resource "aws_ecs_service" "ignore_task_definition" {
356
365
}
357
366
}
358
367
368
+ dynamic "timeout" {
369
+ for_each = try ([service . value . timeout ], [])
370
+
371
+ content {
372
+ idle_timeout_seconds = try (timeout. value . idle_timeout_seconds , null )
373
+ per_request_timeout_seconds = try (timeout. value . per_request_timeout_seconds , null )
374
+ }
375
+ }
376
+
359
377
discovery_name = try (service. value . discovery_name , null )
360
378
ingress_port_override = try (service. value . ingress_port_override , null )
361
379
port_name = service. value . port_name
You can’t perform that action at this time.
0 commit comments