Skip to content

Commit

Permalink
fix: add region in the example
Browse files Browse the repository at this point in the history
  • Loading branch information
ericyz committed May 3, 2023
1 parent b84d371 commit 2ef9a3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/mig_stateful/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ resource "google_compute_subnetwork" "main" {
module "instance_template" {
source = "../../modules/instance_template"
project_id = var.project_id
region = var.region
subnetwork = var.subnetwork
service_account = var.service_account
subnetwork_project = var.project_id
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/mig_stateful/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
module "mig_stateful" {
source = "../../../examples/mig_stateful"
project_id = var.project_id
region = "us-central1"
subnetwork = google_compute_subnetwork.main.name
target_size = 3
service_account = var.service_account
Expand Down

0 comments on commit 2ef9a3c

Please sign in to comment.