diff --git a/modules/net-vpc/README.md b/modules/net-vpc/README.md index a05925d6..c64c58f3 100644 --- a/modules/net-vpc/README.md +++ b/modules/net-vpc/README.md @@ -20,6 +20,7 @@ This module allows creation and management of VPC networks including subnetworks - [Private Google Access routes](#private-google-access-routes) - [Allow Firewall Policy to be evaluated before Firewall Rules](#allow-firewall-policy-to-be-evaluated-before-firewall-rules) - [IPv6](#ipv6) +- [Files](#files) - [Variables](#variables) - [Outputs](#outputs) @@ -531,6 +532,18 @@ module "vpc" { # tftest modules=1 resources=5 inventory=ipv6.yaml ``` +## Files + +| name | description | resources | +|---|---|---| +| [main.tf](./main.tf) | Module-level locals and resources. | google_compute_network · google_compute_network_peering · google_compute_shared_vpc_host_project · google_compute_shared_vpc_service_project · google_dns_policy | +| [outputs.tf](./outputs.tf) | Module outputs. | | +| [psa.tf](./psa.tf) | Private Service Access resources. | google_compute_global_address · google_compute_network_peering_routes_config · google_service_networking_connection | +| [routes.tf](./routes.tf) | Route resources. | google_compute_route | +| [subnets.tf](./subnets.tf) | Subnet resources. | google_compute_subnetwork · google_compute_subnetwork_iam_binding · google_compute_subnetwork_iam_member | +| [variables.tf](./variables.tf) | Module variables. | | +| [versions.tf](./versions.tf) | Version pins. | | + ## Variables | name | description | type | required | default | @@ -556,9 +569,10 @@ module "vpc" { | [subnet_iam_bindings](variables.tf#L173) | Authoritative IAM bindings in {REGION/NAME => {ROLE => {members = [], condition = {}}}}. | map(map(object({…}))) | | {} | | [subnet_iam_bindings_additive](variables.tf#L187) | Individual additive IAM bindings. Keys are arbitrary. | map(object({…})) | | {} | | [subnets](variables.tf#L203) | Subnet configuration. | list(object({…})) | | [] | +| [subnets_global_proxy_only](variables.tf#L243) | List of proxy-only subnets for Cross-region Internal HTTPS load balancers. Note: Only one proxy-only subnet for each VPC network in each region can be active. | list(object({…})) | | [] | | [subnets_proxy_only](variables.tf#L230) | List of proxy-only subnets for Regional HTTPS or Internal HTTPS load balancers. Note: Only one proxy-only subnet for each VPC network in each region can be active. | list(object({…})) | | [] | -| [subnets_psc](variables.tf#L243) | List of subnets for Private Service Connect service producers. | list(object({…})) | | [] | -| [vpc_create](variables.tf#L255) | Create VPC. When set to false, uses a data source to reference existing VPC. | bool | | true | +| [subnets_psc](variables.tf#L255) | List of subnets for Private Service Connect service producers. | list(object({…})) | | [] | +| [vpc_create](variables.tf#L267) | Create VPC. When set to false, uses a data source to reference existing VPC. | bool | | true | ## Outputs @@ -577,6 +591,7 @@ module "vpc" { | [subnet_secondary_ranges](outputs.tf#L110) | Map of subnet secondary ranges keyed by name. | | | [subnet_self_links](outputs.tf#L121) | Map of subnet self links keyed by name. | | | [subnets](outputs.tf#L126) | Subnet resources. | | +| [subnets_global_proxy_only](outputs.tf#L141) | Cross-region internal L7 ILB resources | | | [subnets_proxy_only](outputs.tf#L131) | L7 ILB or L7 Regional LB subnet resources. | | | [subnets_psc](outputs.tf#L136) | Private Service Connect subnet resources. | | diff --git a/modules/net-vpc/outputs.tf b/modules/net-vpc/outputs.tf index f41d5678..2462c48b 100644 --- a/modules/net-vpc/outputs.tf +++ b/modules/net-vpc/outputs.tf @@ -139,6 +139,6 @@ output "subnets_psc" { } output "subnets_global_proxy_only" { - description = "Cross-region internal L7 ILB" + description = "Cross-region internal L7 ILB resources" value = { for k, v in google_compute_subnetwork.global_proxy_only : k => v } } \ No newline at end of file