From 3e7d2074ed8c77637d510152d5d1d065547a6cd5 Mon Sep 17 00:00:00 2001 From: Georgi Ivanov Date: Tue, 15 Oct 2024 11:10:00 +0100 Subject: [PATCH] temp remove the optional keyword --- variables.tf | 16 ++++++++-------- version.tf | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) 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 = {