diff --git a/cmd/terraform-backend.go b/cmd/terraform-backend.go index afa3fe8..43ee8a3 100644 --- a/cmd/terraform-backend.go +++ b/cmd/terraform-backend.go @@ -169,5 +169,6 @@ func main() { log.Printf("listening on %s", addr) r := mux.NewRouter().StrictSlash(true) r.HandleFunc("/state/{project}/{id}", stateHandler(store, locker, kms)) + r.HandleFunc("/health", healthHandler) log.Fatalf("failed to listen on %s: %v", addr, http.ListenAndServe(addr, r)) }