diff --git a/main.tf b/main.tf index 37f7762..c602c45 100644 --- a/main.tf +++ b/main.tf @@ -35,7 +35,7 @@ locals { } gke_machine_type = coalesce(var.gke_machine_type, local.deployment_size[var.size].node_instance) max_node_count = coalesce(var.gke_max_node_count, local.deployment_size[var.size].max_node_count) - min_node_count = coalesce(var.gke_node_count, local.deployment_size[var.size].min_node_count) + min_node_count = coalesce(var.gke_min_node_count, local.deployment_size[var.size].min_node_count) database_machine_type = coalesce(var.database_machine_type, local.deployment_size[var.size].db) redis_memory_size_gb = coalesce(var.redis_memory_size_gb, local.deployment_size[var.size].cache) } diff --git a/variables.tf b/variables.tf index 7446a58..8a68821 100644 --- a/variables.tf +++ b/variables.tf @@ -195,7 +195,7 @@ variable "redis_memory_size_gb" { ########################################## # External Bucket # ########################################## -# Most users will not need these settings. They are ment for users who want a +# Most users will not need these settings. They are meant for users who want a # bucket in a different account. variable "bucket_name" { @@ -221,7 +221,7 @@ variable "gke_machine_type" { } -variable "gke_node_count" { +variable "gke_min_node_count" { type = number description = "Initial number of nodes for the GKE cluster, if gke_max_node_count is set, this is the minimum number of nodes. Defaults to null and value from deployment-size.tf is used" default = null