diff --git a/infrastructure/terraform/.terraform.lock.hcl b/infrastructure/terraform/.terraform.lock.hcl index a44d1b848f..74bcc72d49 100644 --- a/infrastructure/terraform/.terraform.lock.hcl +++ b/infrastructure/terraform/.terraform.lock.hcl @@ -4,6 +4,7 @@ provider "registry.terraform.io/hashicorp/google" { version = "4.11.0" hashes = [ + "h1:ad7vwrNZR3rFXiQmoDwdLSJVLGOfCKY5yEZ2P2cYdPE=", "h1:oLj+SrSeaoVgDH+IasWL3XgXHguRDb+m/S86uNsmCHU=", "zh:095c627b2113e8449ab7adc854d13e521996d38f1f2ee2d51a52044e2aaf5ddf", "zh:109c1ff0f51873ad4e734c1de0cc172f3c33b01b35099339f52c70a402c463a2", diff --git a/infrastructure/terraform/.terraform/providers/registry.terraform.io/hashicorp/google/4.11.0/darwin_arm64/terraform-provider-google_v4.11.0_x5 b/infrastructure/terraform/.terraform/providers/registry.terraform.io/hashicorp/google/4.11.0/darwin_arm64/terraform-provider-google_v4.11.0_x5 new file mode 100755 index 0000000000..2613ebd09b Binary files /dev/null and b/infrastructure/terraform/.terraform/providers/registry.terraform.io/hashicorp/google/4.11.0/darwin_arm64/terraform-provider-google_v4.11.0_x5 differ diff --git a/infrastructure/terraform/.terraform/terraform.tfstate b/infrastructure/terraform/.terraform/terraform.tfstate new file mode 100644 index 0000000000..19c74442bb --- /dev/null +++ b/infrastructure/terraform/.terraform/terraform.tfstate @@ -0,0 +1,19 @@ +{ + "version": 3, + "terraform_version": "1.9.3", + "backend": { + "type": "gcs", + "config": { + "access_token": null, + "bucket": "p5js-terraform-state", + "credentials": null, + "encryption_key": null, + "impersonate_service_account": null, + "impersonate_service_account_delegates": null, + "kms_encryption_key": null, + "prefix": "terraform/state", + "storage_custom_endpoint": null + }, + "hash": 3505575224 + } +} \ No newline at end of file diff --git a/infrastructure/terraform/README.md b/infrastructure/terraform/README.md index d0eb0b5070..4700483d5c 100644 --- a/infrastructure/terraform/README.md +++ b/infrastructure/terraform/README.md @@ -1,5 +1,7 @@ #### Running Terraform +**Note**: Make sure that you're within this directory before getting started with the commands below. + 1. Auth with GCP by running: ``` $ gcloud auth application-default login diff --git a/infrastructure/terraform/main.tf b/infrastructure/terraform/main.tf index 0c6e7300da..254f53a9b0 100644 --- a/infrastructure/terraform/main.tf +++ b/infrastructure/terraform/main.tf @@ -26,7 +26,7 @@ resource "google_container_node_pool" "primary" { location = var.region cluster = google_container_cluster.primary.name version = var.gke_version - node_count = 1 + node_count = 3 node_config { disk_size_gb = 100 diff --git a/infrastructure/terraform/variables.tf b/infrastructure/terraform/variables.tf index b6cb93828e..75c5e6901f 100644 --- a/infrastructure/terraform/variables.tf +++ b/infrastructure/terraform/variables.tf @@ -10,5 +10,5 @@ variable "region" { variable "gke_version" { type = string - default = "1.22.8-gke.200" + default = "1.30.8-gke.1261000" }