From e49df4ed03e8849e95262818b958631ab0e9bce5 Mon Sep 17 00:00:00 2001 From: Andrew Peabody Date: Thu, 19 Sep 2024 10:28:00 -0700 Subject: [PATCH] chore: add subnetwork_project --- examples/compute_instance/simple/main.tf | 9 +++++---- modules/instance_template/versions.tf | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) 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" {