diff --git a/variables.tf b/variables.tf index 9b53e30..cd592df 100644 --- a/variables.tf +++ b/variables.tf @@ -397,8 +397,8 @@ variable "hms_ro_k8s_max_replica_count" { variable "hms_ro_k8s_rolling_update_strategy" { description = "Rolling update strategy settings for HMS RO including max_surge and max_unavailable" type = object({ - max_surge = optional(string) - max_unavailable = optional(string) + max_surge = string + max_unavailable = string }) default = { max_surge = "25%" @@ -409,8 +409,8 @@ variable "hms_ro_k8s_rolling_update_strategy" { variable "hms_rw_k8s_rolling_update_strategy" { description = "Rolling update strategy settings for HMS RW including max_surge and max_unavailable" type = object({ - max_surge = optional(string) - max_unavailable = optional(string) + max_surge = string + max_unavailable = string }) default = { max_surge = "25%" @@ -422,8 +422,8 @@ variable "hms_ro_k8s_pdb_settings" { description = "PDB settings for HMS RO including enable flag, maxUnavailable, and minAvailable." type = object({ enabled = bool - max_unavailable = optional(string) - min_available = optional(string) + max_unavailable = string + min_available = string }) default = { enabled = false @@ -434,8 +434,8 @@ variable "hms_rw_k8s_pdb_settings" { description = "PDB settings for HMS RW including enable flag, maxUnavailable, and minAvailable." type = object({ enabled = bool - max_unavailable = optional(string) - min_available = optional(string) + max_unavailable = string + min_available = string }) default = { enabled = false diff --git a/version.tf b/version.tf index 599c057..3479ffc 100644 --- a/version.tf +++ b/version.tf @@ -5,7 +5,7 @@ */ terraform { - experiments = [module_variable_optional_attrs] + #experiments = [module_variable_optional_attrs] required_version = ">= 0.15.0, < 1.0.0" required_providers { kubernetes = {