diff --git a/examples/compute_instance/simple/main.tf b/examples/compute_instance/simple/main.tf index cdf21279..91fb3f06 100644 --- a/examples/compute_instance/simple/main.tf +++ b/examples/compute_instance/simple/main.tf @@ -18,10 +18,11 @@ module "instance_template" { source = "terraform-google-modules/vm/google//modules/instance_template" version = "~> 11.0" - region = var.region - project_id = var.project_id - subnetwork = var.subnetwork - service_account = var.service_account + region = var.region + project_id = var.project_id + subnetwork = var.subnetwork + service_account = var.service_account + subnetwork_project = var.project_id } module "compute_instance" { diff --git a/modules/instance_template/versions.tf b/modules/instance_template/versions.tf index 819e85b6..7bccbd40 100644 --- a/modules/instance_template/versions.tf +++ b/modules/instance_template/versions.tf @@ -19,7 +19,7 @@ terraform { required_providers { google-beta = { source = "hashicorp/google-beta" - version = ">= 5.36, != 6.3.0, < 7" + version = ">= 5.36, < 7" } } provider_meta "google" {