Skip to content

Commit

Permalink
Add Azure health check (#1269)
Browse files Browse the repository at this point in the history
Co-authored-by: Samuel Aquino <saquino@flexion.us>
  • Loading branch information
somesylvie and saquino0827 authored Aug 26, 2024
1 parent 5a289a8 commit b7ae4d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions operations/template/app.tf
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ resource "azurerm_linux_web_app" "api" {
virtual_network_subnet_id = local.cdc_domain_environment ? azurerm_subnet.app.id : null

site_config {
health_check_path = "/health"
health_check_eviction_time_in_min = 5

scm_use_main_ip_restriction = local.cdc_domain_environment ? true : null

dynamic "ip_restriction" {
Expand Down

0 comments on commit b7ae4d6

Please sign in to comment.