Skip to content
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.

Make healthcheck_path optional on services

Compare
Choose a tag to compare
@alexwlchan alexwlchan released this 05 Dec 09:32
· 466 commits to master since this release

Previously services had to be configured with an ALB path and a healthcheck path; for example:

module "ingestor" {
    source           = "./terraform-modules/services"
    path_pattern     = "/ingestor/*"
    healthcheck_path = "/ingestor/management/healthcheck/"
}

The module now tries to guess a better default healthcheck path, by appending /management/healthcheck to the path pattern. So this is equivalent to the code above:

module "ingestor" {
    source           = "./terraform-modules/services"
    path_pattern     = "/ingestor/*"
}