Skip to content

Commit

Permalink
Merge pull request #27 from bschaatsbergen/tune-health-check
Browse files Browse the repository at this point in the history
Tune health check
  • Loading branch information
bschaatsbergen authored Jan 3, 2023
2 parents b4c567d + 2599c08 commit 85dedf4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,11 @@ module "atlantis" {
}

resource "google_compute_health_check" "atlantis" {
name = var.name
check_interval_sec = 1
timeout_sec = 1
name = var.name
check_interval_sec = 1
timeout_sec = 1
healthy_threshold = 4
unhealthy_threshold = 5

tcp_health_check {
port = local.atlantis_port
Expand Down

0 comments on commit 85dedf4

Please sign in to comment.