Skip to content

Commit

Permalink
Use /healthz endpoint for ALB health check
Browse files Browse the repository at this point in the history
Allows ECS to see task is up when hasura_console_enabled is false.

https://docs.hasura.io/1.0/graphql/manual/api-reference/index.html#health-check-api
  • Loading branch information
davetapley authored and Rayraegah committed Sep 25, 2019
1 parent f390952 commit 3eced34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,8 @@ resource "aws_alb_target_group" "hasura" {
target_type = "ip"

health_check {
path = "/"
matcher = "302"
path = "/healthz"
matcher = "200"
}
}

Expand Down

0 comments on commit 3eced34

Please sign in to comment.