Skip to content

Commit

Permalink
chore: add subnetwork_project
Browse files Browse the repository at this point in the history
  • Loading branch information
apeabody committed Sep 19, 2024
1 parent 8fc6060 commit e49df4e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions examples/compute_instance/simple/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down
2 changes: 1 addition & 1 deletion modules/instance_template/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit e49df4e

Please sign in to comment.