Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jul 3, 2023. It is now read-only.

Commit a0135e6

Browse files
committed
Make healthcheck time values configurable for ELB with SSL
1 parent d3714f7 commit a0135e6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

web-service/elb/main.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,11 @@ resource "aws_elb" "main_with_ssl" {
106106
}
107107

108108
health_check {
109-
healthy_threshold = 2
110-
unhealthy_threshold = 2
111-
timeout = 5
109+
healthy_threshold = "${var.healthcheck_healthy_threshold}"
110+
unhealthy_threshold = "${var.healthcheck_unhealthy_threshold}"
111+
timeout = "${var.healthcheck_timeout}"
112112
target = "HTTP:${var.port}${var.healthcheck}"
113-
interval = 30
113+
interval = "${var.healthcheck_interval}"
114114
}
115115

116116
access_logs {

0 commit comments

Comments
 (0)