Skip to content

Commit

Permalink
Merge pull request #212 from DSC-McMaster-U/terraform-state-fix
Browse files Browse the repository at this point in the history
Terraform state fix
  • Loading branch information
rawanmahdi authored Feb 26, 2024
2 parents 14e0d38 + c7b1fc0 commit 45c068e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion cloud-infra/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ provider "google" {
zone = var.zone
}

terraform {
backend "gcs" {
bucket = "automate_terraform_state"
prefix = "terraform/state"
}
}

resource "google_container_cluster" "automl_cluster" {
name = "automl-cluster"
location = var.zone
Expand Down Expand Up @@ -67,7 +74,7 @@ resource "google_container_node_pool" "ml_node_pool" {
// Create new storage bucket in the US multi-region with standard storage
resource "google_storage_bucket" "static" {
project = var.project
name = "automate-ml-datasets"
name = "automate-ml-datasets2"
location = "us-east1"
storage_class = "standard"

Expand Down

0 comments on commit 45c068e

Please sign in to comment.