updating modules
This commit is contained in:
@@ -62,16 +62,16 @@ resource "azurerm_container_app" "container_app_app" {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dynamic "startup_probes" {
|
dynamic "startup_probe" {
|
||||||
for_each = container.value.startup_probes != null ? container.value.startup_probes : []
|
for_each = container.value.startup_probe != null ? container.value.startup_probe : []
|
||||||
iterator = startup_probe
|
iterator = startup_probe
|
||||||
content {
|
content {
|
||||||
failure_count_threshold = startup_probe.value.failure_count_threshold != null ? startup_probe.value.failure_count_threshold : null
|
failure_count_threshold = startup_probe.value.failure_count_threshold != null ? startup_probe.value.failure_count_threshold : null
|
||||||
initial_delay_seconds = startup_probe.value.initial_delay_seconds != null ? startup_probe.value.initial_delay_seconds : null
|
initial_delay = startup_probe.value.initial_delay != null ? startup_probe.value.initial_delay : null
|
||||||
interval_seconds = startup_probe.value.interval_seconds != null ? startup_probe.value.interval_seconds : null
|
interval_seconds = startup_probe.value.interval_seconds != null ? startup_probe.value.interval_seconds : null
|
||||||
path = startup_probe.value.path != null ? startup_probe.value.path : null
|
path = startup_probe.value.path != null ? startup_probe.value.path : null
|
||||||
port = startup_probe.value.port
|
port = startup_probe.value.port
|
||||||
timeout_seconds = startup_probe.value.timeout_seconds != null ? startup_probe.value.timeout_seconds : null
|
timeout = startup_probe.value.timeout != null ? startup_probe.value.timeout : null
|
||||||
transport = startup_probe.value.transport
|
transport = startup_probe.value.transport
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,11 +18,11 @@ variable "containers" {
|
|||||||
name = string
|
name = string
|
||||||
startup_probe = optional(list(object({
|
startup_probe = optional(list(object({
|
||||||
failure_count_threshold = optional(number)
|
failure_count_threshold = optional(number)
|
||||||
initial_delay_seconds = optional(number)
|
initial_delay = optional(number)
|
||||||
interval_seconds = optional(number)
|
interval_seconds = optional(number)
|
||||||
path = optional(string)
|
path = optional(string)
|
||||||
port = number
|
port = number
|
||||||
timeout_seconds = optional(number)
|
timeout = optional(number)
|
||||||
transport = string
|
transport = string
|
||||||
})))
|
})))
|
||||||
volume_mounts = optional(list(object({
|
volume_mounts = optional(list(object({
|
||||||
|
|||||||
Reference in New Issue
Block a user