File tree 1 file changed +12
-3
lines changed
1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -106,11 +106,20 @@ resource "aws_ecs_service" "this" {
106
106
ingress_port_override = try (service. value . ingress_port_override , null )
107
107
108
108
dynamic "client_alias" {
109
- for_each = length (try (service. client_alias , {})) > 0 ? [1 ] : []
109
+ for_each = length (try (service. value . client_alias , {})) > 0 ? [1 ] : []
110
110
111
111
content {
112
- port = service. client_alias . port
113
- dns_name = try (service. client_alias . dns_name , null )
112
+ port = service. value . client_alias . port
113
+ dns_name = try (service. value . client_alias . dns_name , null )
114
+ }
115
+ }
116
+
117
+ dynamic "timeout" {
118
+ for_each = length (try (service. value . timeout , {})) > 0 ? [1 ] : []
119
+
120
+ content {
121
+ idle_timeout_seconds = try (service. value . timeout . idle_timeout_seconds , null )
122
+ per_request_timeout_seconds = try (service. value . timeout . per_request_timeout_seconds , null )
114
123
}
115
124
}
116
125
}
You can’t perform that action at this time.
0 commit comments