Add subnetwork_name variable to allow the use of non-default subnets, or subnets with custom names.
This change fixes a bug present when a subnet named default does not exist, or some other reason meaning a different subnet needs to be used:
* module.vault_cluster.google_compute_instance_template.vault_public: 1 error(s) occurred:
* google_compute_instance_template.vault_public: Error creating instance template: googleapi: Error 400: Invalid value for field 'resource.properties.networkInterfaces[0].subnetwork': ''. Network interface must specify a subnet if the network resource is in custom subnet mode., invalid
Related Issue: https://github.com/hashicorp/terraform-google-vault/issues/22
Add
subnetwork_name
variable to allow the use of non-default subnets, or subnets with custom names.This change fixes a bug present when a subnet named
default
does not exist, or some other reason meaning a different subnet needs to be used: