Open psiso opened 3 years ago
Step 4 needs additional line of code "deletion_protection = false" as follows for the next steps to work properly.
provider "google" { project = "PROJECT_ID" }
resource "google_spanner_instance" "main" { config = "regional-us-central1" display_name = "first-terraform-instance" num_nodes = 3 }
resource "google_spanner_database" "database" { instance = google_spanner_instance.main.name name = "my-first-database" deletion_protection = false }
deletion_protection = false is required.
Step 4 needs additional line of code "deletion_protection = false" as follows for the next steps to work properly.
provider "google" { project = "PROJECT_ID" }
resource "google_spanner_instance" "main" { config = "regional-us-central1" display_name = "first-terraform-instance" num_nodes = 3 }
resource "google_spanner_database" "database" { instance = google_spanner_instance.main.name name = "my-first-database" deletion_protection = false }