Skip to content

Commit

Permalink
fix: rename min node count var
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpanzella committed Aug 29, 2024
1 parent 3bc70c0 commit 1cc0b7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand All @@ -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
Expand Down

0 comments on commit 1cc0b7a

Please sign in to comment.