Skip to content

Commit

Permalink
feat: new region pick
Browse files Browse the repository at this point in the history
  • Loading branch information
tunacinsoy committed Aug 19, 2024
1 parent 123e9a4 commit 8d31f3e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion terraform/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ locals {
resource "google_container_cluster" "main" {
name = "${var.cluster_name}-${var.branch}"
location = var.location
initial_node_count = 4
initial_node_count = 3

node_config {
service_account = local.service_account_email # Retrieving the email of the service account from locals
Expand Down
6 changes: 3 additions & 3 deletions terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ variable "project_id" {
variable "region" {
description = "region where the resources will be deployed"
type = string
default = "me-west"
default = "europe-central2"
}

# For provider "google"
variable "zone" {
description = "zone where the resources will be deployed"
type = string
default = "me-west1-b"
default = "europe-central2-b"
}

# For resource google_service_account.main
Expand All @@ -39,5 +39,5 @@ variable "branch" {
variable "location" {
type = string
description = "GKE Cluster Location"
default = "me-west1-b"
default = "europe-central2-b"
}

0 comments on commit 8d31f3e

Please sign in to comment.