Skip to content

Commit

Permalink
Fix terraform trying to register the CSB before it's ready
Browse files Browse the repository at this point in the history
...by adding health checks, which it will wait on.
  • Loading branch information
jameshochadel committed Oct 21, 2024
1 parent 6531e5e commit 5113da1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions terraform/modules/csb/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ resource "cloudfoundry_app" "csb" {
routes {
route = cloudfoundry_route.csb.id
}

health_check_type = "http"
health_check_http_endpoint = "/ready"
}

data "cloudfoundry_domain" "platform_components" {
Expand Down

0 comments on commit 5113da1

Please sign in to comment.