adding test
This commit is contained in:
parent
3208bcd9d5
commit
db5030e93f
|
@ -286,7 +286,6 @@ Along with common private subnets module supports creation more service specific
|
|||
|
||||
- [Proxy-only subnets](https://cloud.google.com/load-balancing/docs/proxy-only-subnets) for Regional HTTPS Internal HTTPS Load Balancers
|
||||
- [Private Service Connect](https://cloud.google.com/vpc/docs/private-service-connect#psc-subnets) subnets
|
||||
|
||||
- [Global Proxy-only subnets](https://cloud.google.com/load-balancing/docs/proxy-only-subnets#envoy-lb) with purpose for Cross-region internal Application Load Balancers
|
||||
|
||||
```hcl
|
||||
|
@ -312,14 +311,14 @@ module "vpc" {
|
|||
]
|
||||
subnets_global_proxy_only = [
|
||||
{
|
||||
ip_cidr_range = "10.0.4.0/24"
|
||||
ip_cidr_range = "10.0.5.0/24"
|
||||
name = "global-proxy"
|
||||
region = "europe-west1"
|
||||
active = true
|
||||
}
|
||||
]
|
||||
}
|
||||
# tftest modules=1 resources=5 inventory=proxy-only-subnets.yaml
|
||||
# tftest modules=1 resources=6 inventory=proxy-only-subnets.yaml
|
||||
```
|
||||
|
||||
### DNS Policies
|
||||
|
@ -398,7 +397,7 @@ flow_logs: # enable, set to empty map to use defaults
|
|||
```yaml
|
||||
# tftest-file id=subnet-global-proxy path=config/subnets/subnet-global-proxy.yaml
|
||||
region: europe-west4
|
||||
ip_cidr_range: 10.0.3.0/24
|
||||
ip_cidr_range: 10.0.5.0/24
|
||||
purpose: GLOBAL_MANAGED_PROXY
|
||||
```
|
||||
|
||||
|
|
|
@ -16,6 +16,15 @@ values:
|
|||
module.vpc.google_compute_network.network[0]:
|
||||
name: my-network
|
||||
project: my-project
|
||||
module.vpc.google_compute_subnetwork.global_proxy_only["europe-west1/global-proxy"]:
|
||||
description: Terraform-managed global proxy-only subnet for cross-region Internal HTTPS LB.
|
||||
ip_cidr_range: 10.0.5.0/24
|
||||
log_config: []
|
||||
name: global-proxy
|
||||
project: my-project
|
||||
purpose: GLOBAL_MANAGED_PROXY
|
||||
region: europe-west1
|
||||
role: ACTIVE
|
||||
module.vpc.google_compute_subnetwork.proxy_only["europe-west1/regional-proxy"]:
|
||||
description: Terraform-managed proxy-only subnet for Regional HTTPS or Internal HTTPS LB.
|
||||
ip_cidr_range: 10.0.1.0/24
|
||||
|
@ -37,4 +46,4 @@ values:
|
|||
|
||||
counts:
|
||||
google_compute_network: 1
|
||||
google_compute_subnetwork: 2
|
||||
google_compute_subnetwork: 3
|
||||
|
|
Loading…
Reference in New Issue