trying to fix linting

This commit is contained in:
Dave Gulli 2023-09-11 20:41:25 +10:00
parent 7e0827db53
commit c1b52b300c
2 changed files with 13 additions and 6 deletions

View File

@ -287,7 +287,7 @@ 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 subnet] (https://cloud.google.com/load-balancing/docs/proxy-only-subnets#envoy-lb) with purpose for Cross-region internal Application Load Balancers
- [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
module "vpc" {
@ -395,6 +395,13 @@ flow_logs: # enable, set to empty map to use defaults
filter_expression: null
```
```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
purpose: GLOBAL_MANAGED_PROXY
```
```yaml
# tftest-file id=subnet-proxy path=config/subnets/subnet-proxy.yaml
region: europe-west4

View File

@ -128,6 +128,11 @@ output "subnets" {
value = { for k, v in google_compute_subnetwork.subnetwork : k => v }
}
output "subnets_global_proxy_only" {
description = "Cross-region internal L7 ILB resources"
value = { for k, v in google_compute_subnetwork.global_proxy_only : k => v }
}
output "subnets_proxy_only" {
description = "L7 ILB or L7 Regional LB subnet resources."
value = { for k, v in google_compute_subnetwork.proxy_only : k => v }
@ -136,9 +141,4 @@ output "subnets_proxy_only" {
output "subnets_psc" {
description = "Private Service Connect subnet resources."
value = { for k, v in google_compute_subnetwork.psc : k => v }
}
output "subnets_global_proxy_only" {
description = "Cross-region internal L7 ILB resources"
value = { for k, v in google_compute_subnetwork.global_proxy_only : k => v }
}