File tree 3 files changed +8
-0
lines changed
3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -166,6 +166,7 @@ service = false` argument can be removed.
166
166
| registry\_ secretsmanager\_ arn | ARN for AWS Secrets Manager secret for credentials to private registry | string | ` null ` | no |
167
167
| route53\_ zone\_ id | Zone in which to create an alias record to the ALB. | string | n/a | yes |
168
168
| service | Service for tagging and naming. See [ doc] ( ../README.md#consistent-tagging ) . | string | n/a | yes |
169
+ | slow_start | Seconds for targets to warm up before the load balancer sends them a full share of requests. | number | 60 | no |
169
170
| ssl\_ policy | ELB policy to determine which SSL/TLS encryption protocols are enabled. Probably don't touch this. | string | ` null ` | no |
170
171
| subdomain | Subdomain in the zone. Final domain name will be subdomain.zone | string | n/a | yes |
171
172
| tag\_ service | Apply cost tags to the ECS service. Only specify false for backwards compatibility with old ECS services. | bool | ` true ` | no |
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ resource "aws_lb_target_group" "service" {
15
15
target_type = var. awsvpc_network_mode ? " ip" : " instance"
16
16
17
17
deregistration_delay = 60
18
+ slow_start = var. slow_start
18
19
19
20
health_check {
20
21
path = var. health_check_path
Original file line number Diff line number Diff line change @@ -196,3 +196,9 @@ variable "ordered_placement_strategy" {
196
196
default = []
197
197
description = " Placement strategy for the task instances."
198
198
}
199
+
200
+ variable "slow_start" {
201
+ description = " Seconds for targets to warm up before the load balancer sends them a full share of requests. 30-900 seconds or 0 to disable."
202
+ type = number
203
+ default = 60
204
+ }
You can’t perform that action at this time.
0 commit comments