From 8d31f3e7db35493a0ba3d197fdd3d180aa1eacbd Mon Sep 17 00:00:00 2001 From: tuna Date: Mon, 19 Aug 2024 13:05:36 +0200 Subject: [PATCH] feat: new region pick --- terraform/cluster.tf | 2 +- terraform/variables.tf | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/terraform/cluster.tf b/terraform/cluster.tf index 942644d..b5dd9d7 100644 --- a/terraform/cluster.tf +++ b/terraform/cluster.tf @@ -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 diff --git a/terraform/variables.tf b/terraform/variables.tf index 261b48d..d39d3d4 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -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 @@ -39,5 +39,5 @@ variable "branch" { variable "location" { type = string description = "GKE Cluster Location" - default = "me-west1-b" + default = "europe-central2-b" }