Skip to content

Commit

Permalink
feat: Added t-shirt size support (#135)
Browse files Browse the repository at this point in the history
Added t-shirt size support
  • Loading branch information
amanpruthi committed Jun 21, 2024
1 parent 444ae02 commit f8a3a2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deployment-size.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ locals {
deployment_size = {
small = {
db = "db-n1-highmem-2",
node_count = 3,
node_count = 2,
node_instance = "n2-highmem-4"
cache = "6"
},
medium = {
db = "db-n1-highmem-4",
node_count = 3,
node_count = 2,
node_instance = "n2-highmem-4"
cache = "6"
},
Expand Down
1 change: 1 addition & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ output "gke_node_count" {
value = coalesce(try(local.deployment_size[var.size].node_count, null), var.gke_node_count)
}


output "gke_node_instance_type" {
value = coalesce(try(local.deployment_size[var.size].node_instance, null), var.gke_machine_type)
}
Expand Down

0 comments on commit f8a3a2f

Please sign in to comment.