Skip to content

Instantly share code, notes, and snippets.

@100daysofdevops
Created March 1, 2019 23:29
Show Gist options
  • Select an option

  • Save 100daysofdevops/9a958dde1a960bab434a5ca64d0a3a16 to your computer and use it in GitHub Desktop.

Select an option

Save 100daysofdevops/9a958dde1a960bab434a5ca64d0a3a16 to your computer and use it in GitHub Desktop.
resource "aws_lb_target_group" "my-alb-tg" {
health_check {
interval = 30
path = "/"
protocol = "HTTP"
timeout = 5
healthy_threshold = 5
unhealthy_threshold = 2
matcher = "200-299"
}
name = "my-alb-tg"
port = 80
protocol = "HTTP"
vpc_id = "${var.vpc_id}"
target_type = "instance"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment