F5Networks / terraform-gcp-bigip-module

Terraform module for Deploying BIG-IP in GCP
Apache License 2.0
9 stars 11 forks source link

allow to use shared VPCs #40

Open sagor999 opened 1 year ago

sagor999 commented 1 year ago

Hello,

this PR adds ability to use shared VPC when configuring NIC. It adds two variables: network_id - to be able to specify parent network VPC. subnet_project_id - to be able to specify the project which shares a subnetwork into your google project.

Both parameters are optional and can be set to null to not use them. But it is required to have them if you want to be able to use shared VPC.

Let me know if there are any other changes required to be able to merge this. I updated README and examples.