updating modules
This commit is contained in:
@@ -62,6 +62,20 @@ resource "azurerm_container_app" "container_app_app" {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dynamic "startup_probes" {
|
||||||
|
for_each = container.value.startup_probes != null ? container.value.startup_probes : []
|
||||||
|
iterator = startup_probe
|
||||||
|
content {
|
||||||
|
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
|
||||||
|
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
|
||||||
|
port = startup_probe.value.port
|
||||||
|
timeout_seconds = startup_probe.value.timeout_seconds != null ? startup_probe.value.timeout_seconds : null
|
||||||
|
transport = startup_probe.value.transport
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
dynamic "volume_mounts" {
|
dynamic "volume_mounts" {
|
||||||
for_each = container.value.volume_mounts != null ? container.value.volume_mounts : []
|
for_each = container.value.volume_mounts != null ? container.value.volume_mounts : []
|
||||||
iterator = volume_mount
|
iterator = volume_mount
|
||||||
|
|||||||
@@ -16,6 +16,15 @@ variable "containers" {
|
|||||||
image = string
|
image = string
|
||||||
memory = optional(string)
|
memory = optional(string)
|
||||||
name = string
|
name = string
|
||||||
|
startup_probe = optional(list(object({
|
||||||
|
failure_count_threshold = optional(number)
|
||||||
|
initial_delay_seconds = optional(number)
|
||||||
|
interval_seconds = optional(number)
|
||||||
|
path = optional(string)
|
||||||
|
port = number
|
||||||
|
timeout_seconds = optional(number)
|
||||||
|
transport = string
|
||||||
|
})))
|
||||||
volume_mounts = optional(list(object({
|
volume_mounts = optional(list(object({
|
||||||
name = string
|
name = string
|
||||||
path = string
|
path = string
|
||||||
|
|||||||
Reference in New Issue
Block a user