Files
hunfabric/tests/modules/net_vpc/examples/subnet-options.yaml

69 lines
2.2 KiB
YAML

# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
values:
module.vpc.google_compute_network.network[0]:
name: my-network
project: project-id
module.vpc.google_compute_subnetwork.subnetwork["europe-west1/no-pga"]:
description: Subnet b
ip_cidr_range: 10.0.1.0/24
log_config: []
name: no-pga
private_ip_google_access: false
project: project-id
region: europe-west1
module.vpc.google_compute_subnetwork.subnetwork["europe-west1/simple"]:
description: Terraform-managed.
ip_cidr_range: 10.0.0.0/24
name: simple
private_ip_google_access: true
project: project-id
region: europe-west1
? module.vpc.google_compute_subnetwork.subnetwork["europe-west1/hybrid"]
: description: Terraform-managed.
ip_cidr_range: 10.0.4.0/24
log_config: []
name: hybrid
private_ip_google_access: true
project: project-id
region: europe-west1
allow_subnet_cidr_routes_overlap: true
? module.vpc.google_compute_subnetwork.subnetwork["europe-west1/with-flow-logs"]
: description: Terraform-managed.
ip_cidr_range: 10.0.3.0/24
ipv6_access_type: null
name: with-flow-logs
private_ip_google_access: true
project: project-id
region: europe-west1
role: null
? module.vpc.google_compute_subnetwork.subnetwork["europe-west1/with-secondary-ranges"]
: description: Terraform-managed.
ip_cidr_range: 10.0.2.0/24
name: with-secondary-ranges
private_ip_google_access: true
project: project-id
region: europe-west1
role: null
secondary_ip_range:
- ip_cidr_range: 192.168.0.0/24
range_name: a
- ip_cidr_range: 192.168.1.0/24
range_name: b
counts:
google_compute_network: 1
google_compute_subnetwork: 5