File tree 2 files changed +13
-0
lines changed
2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,10 @@ module "ecs" {
114
114
}
115
115
port_name = local.container_name
116
116
discovery_name = local.container_name
117
+ timeout = {
118
+ idle_timeout_seconds = 60
119
+ per_request_timeout_seconds = 60
120
+ }
117
121
}
118
122
}
119
123
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 (service. value . timeout . idle_timeout_seconds , null )
176
+ per_request_timeout_seconds = try (service. value . timeout . 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
You can’t perform that action at this time.
0 commit comments