diff --git a/examples/complete/variables.tf b/examples/complete/variables.tf index 6d93f69..b28b23c 100644 --- a/examples/complete/variables.tf +++ b/examples/complete/variables.tf @@ -4,8 +4,9 @@ variable "region" { } variable "logging_level" { - type = string - default = "INFO" + type = string + description = "The logging level of the API. One of - OFF, INFO, ERROR" + default = "INFO" validation { condition = contains(["OFF", "INFO", "ERROR"], var.logging_level) diff --git a/examples/private-link/variables.tf b/examples/private-link/variables.tf index 6d93f69..b28b23c 100644 --- a/examples/private-link/variables.tf +++ b/examples/private-link/variables.tf @@ -4,8 +4,9 @@ variable "region" { } variable "logging_level" { - type = string - default = "INFO" + type = string + description = "The logging level of the API. One of - OFF, INFO, ERROR" + default = "INFO" validation { condition = contains(["OFF", "INFO", "ERROR"], var.logging_level)