File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -31,9 +31,11 @@ resource "azurerm_linux_function_app" "function_app" {
3131 container_registry_use_managed_identity = var. cont_registry_use_mi
3232 container_registry_managed_identity_client_id = var. acr_mi_client_id
3333 ftps_state = var. ftps_state
34- health_check_path = var. health_check_path
35- health_check_eviction_time_in_min = var. health_check_eviction_time_in_min
3634 minimum_tls_version = var. minimum_tls_version
35+ health_check_path = var. health_check_path
36+ health_check_eviction_time_in_min = var. health_check_path == null ? null : (
37+ var. health_check_eviction_time_in_min == null ? 10 : var. health_check_eviction_time_in_min
38+ )
3739
3840 app_service_logs {
3941 disk_quota_mb = var. app_service_logs_disk_quota_mb
Original file line number Diff line number Diff line change @@ -24,9 +24,11 @@ resource "azurerm_linux_web_app" "linux_web_app" {
2424 container_registry_use_managed_identity = var. cont_registry_use_mi
2525 container_registry_managed_identity_client_id = var. acr_mi_client_id
2626 ftps_state = var. ftps_state
27- health_check_path = var. health_check_path
28- health_check_eviction_time_in_min = var. health_check_eviction_time_in_min
2927 minimum_tls_version = var. minimum_tls_version
28+ health_check_path = var. health_check_path
29+ health_check_eviction_time_in_min = var. health_check_path == null ? null : (
30+ var. health_check_eviction_time_in_min == null ? 10 : var. health_check_eviction_time_in_min
31+ )
3032
3133 application_stack {
3234 docker_registry_url = " https://${ var . acr_login_server } "
You can’t perform that action at this time.
0 commit comments