Created
February 28, 2019 01:22
-
-
Save rivernews/7b94ab87bb18a546ff1405264ab6653c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
resource "aws_alb_target_group" "http" { | |
name = "${var.project_name}-alb-tg-http" | |
port = 80 | |
protocol = "HTTP" | |
vpc_id = "${var.vpc_id}" | |
health_check { | |
path = "/" | |
matcher = "200-299" | |
port = 80 # or "traffic-port" (default) | |
protocol = "HTTP" # default | |
interval = 20 | |
timeout = 10 | |
healthy_threshold = 2 | |
unhealthy_threshold = 3 | |
} | |
} | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment