File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
infrastructure/modules/application-insights-availability-test Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ resource "azurerm_application_insights_standard_web_test" "this" {
2424
2525 # SSL validation rules
2626 dynamic "validation_rules" {
27- for_each = try ( var. ssl_validation . enabled , false ) ? [1 ] : []
27+ for_each = var. ssl_validation != null ? [1 ] : []
2828 content {
2929 expected_status_code = var. ssl_validation . expected_status_code
3030 ssl_check_enabled = var. ssl_validation . ssl_check_enabled
Original file line number Diff line number Diff line change @@ -105,10 +105,10 @@ variable "ssl_validation" {
105105
106106variable "alert" {
107107 type = object ({
108- description = optional (string , " Availability test alert" )
109- frequency = optional (string , " PT1M" )
110- window_size = optional (string , " PT5M" )
111- auto_mitigate = optional (bool , true )
108+ description = optional (string , " Availability test alert" )
109+ frequency = optional (string , " PT1M" )
110+ window_size = optional (string , " PT5M" )
111+ auto_mitigate = optional (bool , true )
112112 })
113113
114114 validation {
You can’t perform that action at this time.
0 commit comments