Standardise reuse variable from project module and implement for net-vpc (#3205)

* exposing the network_id from the net-vpc module for use with tag bindings

* convert vpc_create to vpc_reuse

* Changed the reuse vars to standardised attributes

* fixed readme tests and schemas

* modified apigee blueprint to use vpc_reuse with network_id passthrough

---------

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
This commit is contained in:
Liam Nesteroff
2025-07-03 09:12:05 +10:00
committed by GitHub
parent 7e20abc19d
commit f07e4f64e9
43 changed files with 190 additions and 106 deletions

View File

@@ -40,7 +40,7 @@ module "project" {
name = var.project_id
project_reuse = {
use_data_source = false
project_attributes = {
attributes = {
name = var.project_id
number = var.project_number
services_enabled = ["storage.googleapis.com"]
@@ -133,7 +133,7 @@ module "project" {
name = var.project_id
project_reuse = {
use_data_source = false
project_attributes = {
attributes = {
name = var.project_id
number = var.project_number
services_enabled = ["storage.googleapis.com"]