File tree Expand file tree Collapse file tree
infrastructure/modules/application-insights-availability-test Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,14 +72,8 @@ variable "headers" {
7272}
7373
7474variable "ssl_validation" {
75- description = << EOT
76- The SSL validation settings for the standard web test.
77-
78- Set `enabled = false` to omit the SSL validation block entirely.
79- If you want to validate response body text, set content's match to a non-null string.
80- EOT
75+ description = " The SSL validation settings for the standard web test."
8176 type = object ({
82- enabled = optional (bool , false )
8377 expected_status_code = optional (number , null )
8478 ssl_check_enabled = optional (bool , true )
8579 ssl_cert_remaining_lifetime = optional (number , null )
10599 error_message = " The SSL certificate remaining lifetime must be null or an integer between 1 and 365."
106100 }
107101
108- validation {
109- condition = (
110- var. ssl_validation == null ||
111- try (var. ssl_validation . enabled , false ) == false ||
112- true
113- )
114- error_message = " When enabled = false, other SSL fields are ignored."
115- }
116-
117102 default = null
118103 nullable = true
119104}
You can’t perform that action at this time.
0 commit comments