Skip to content

Commit

Permalink
temp remove the optional keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
givanovexpe committed Oct 15, 2024
1 parent c264539 commit 3e7d207
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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%"
Expand All @@ -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%"
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion version.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 3e7d207

Please sign in to comment.