Skip to content

Commit b04278c

Browse files
fix: Corrected probes configuration. (#170)
1 parent 4813dd3 commit b04278c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/main/terraform/container_app.tf

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,18 +122,17 @@ resource "azurerm_container_app" "auth" {
122122
liveness_probe {
123123
path = "/q/health/live"
124124
port = 8080
125-
transport = "http"
125+
transport = "HTTP"
126126
initial_delay = 0
127127
interval_seconds = 10
128128
failure_count_threshold = 3
129129
timeout = 1
130-
termination_grace_period_seconds = 120
131130
}
132131

133132
readiness_probe {
134133
path = "/q/health/ready"
135134
port = 8080
136-
transport = "http"
135+
transport = "HTTP"
137136
initial_delay = 0
138137
interval_seconds = 10
139138
failure_count_threshold = 3
@@ -144,12 +143,11 @@ resource "azurerm_container_app" "auth" {
144143
startup_probe {
145144
path = "/q/health/started"
146145
port = 8080
147-
transport = "http"
146+
transport = "HTTP"
148147
initial_delay = 0
149148
interval_seconds = 10
150149
failure_count_threshold = 3
151150
timeout = 1
152-
termination_grace_period_seconds = 120
153151
}
154152
}
155153

0 commit comments

Comments
 (0)