Skip to content
This repository has been archived by the owner on Mar 29, 2023. It is now read-only.

Commit

Permalink
Fix project for all compute instances
Browse files Browse the repository at this point in the history
  • Loading branch information
veggiemonk committed Jun 17, 2019
1 parent 8cc3955 commit 2c05c7c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ resource "google_compute_instance" "default_network" {
name = "${var.name_prefix}-default-network"
machine_type = "n1-standard-1"
zone = data.google_compute_zones.available.names[0]
project = var.project

allow_stopping_for_update = true

Expand All @@ -55,6 +56,7 @@ resource "google_compute_instance" "public_with_ip" {
name = "${var.name_prefix}-public-with-ip"
machine_type = "n1-standard-1"
zone = data.google_compute_zones.available.names[0]
project = var.project

allow_stopping_for_update = true

Expand All @@ -79,6 +81,7 @@ resource "google_compute_instance" "public_without_ip" {
name = "${var.name_prefix}-public-without-ip"
machine_type = "n1-standard-1"
zone = data.google_compute_zones.available.names[0]
project = var.project

allow_stopping_for_update = true

Expand All @@ -99,6 +102,7 @@ resource "google_compute_instance" "private_public" {
name = "${var.name_prefix}-private-public"
machine_type = "n1-standard-1"
zone = data.google_compute_zones.available.names[0]
project = var.project

allow_stopping_for_update = true

Expand All @@ -119,6 +123,7 @@ resource "google_compute_instance" "private" {
name = "${var.name_prefix}-private"
machine_type = "n1-standard-1"
zone = data.google_compute_zones.available.names[0]
project = var.project

allow_stopping_for_update = true

Expand All @@ -139,6 +144,7 @@ resource "google_compute_instance" "private_persistence" {
name = "${var.name_prefix}-private-persistence"
machine_type = "n1-standard-1"
zone = data.google_compute_zones.available.names[0]
project = var.project

allow_stopping_for_update = true

Expand Down

0 comments on commit 2c05c7c

Please sign in to comment.