Skip to content

Commit

Permalink
Merge pull request #917 from cloud-gov/csb-health-check
Browse files Browse the repository at this point in the history
Fix terraform trying to register the CSB before it's ready
  • Loading branch information
jameshochadel authored Oct 21, 2024
2 parents 6531e5e + 5113da1 commit f2b3a2a
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 f2b3a2a

Please sign in to comment.