terraform-google-modules / terraform-google-vm

Provisions VMs in Google Cloud
https://registry.terraform.io/modules/terraform-google-modules/vm/google
Apache License 2.0
220 stars 369 forks source link

missing tags in main.tf modules #196

Closed hpuri closed 3 years ago

hpuri commented 3 years ago

Added " subnetwork_project = var.project_id" at lines 26 and 35 to terraform-google-vm/examples/compute_instance/simple/main.tf

module.instance_template.google_compute_instance_template.tpl: Creating... ╷ │ Error: cannot determine self_link for subnetwork "cft-vm-test-x4ia": network_interface.0.subnetwork_project: required field is not set │ │ with module.instance_template.google_compute_instance_template.tpl, │ on ../../../modules/instance_template/main.tf line 57, in resource "google_compute_instance_template" "tpl": │ 57: resource "google_compute_instance_template" "tpl" {

stenalpjolly commented 3 years ago

@hpuri Can you please provide some more information on the above. Maybe a snippet block? It is expected to provide subnetwork along with subnetwork_project

github-actions[bot] commented 3 years ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days