# Copyright 2024 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.vpc1-nat.google_compute_router.router[0]:
    bgp: []
    description: null
    encrypted_interconnect_router: null
    name: vpc1-nat-nat
    project: project-id
    region: europe-west8
  module.vpc1-nat.google_compute_router_nat.nat:
    enable_dynamic_port_allocation: true
    enable_endpoint_independent_mapping: false
    icmp_idle_timeout_sec: 30
    log_config:
      - enable: false
        filter: ALL
    name: vpc1-nat
    nat_ip_allocate_option: null
    project: project-id
    region: europe-west8
    router: vpc1-nat-nat
    rules:
      - action:
          - source_nat_active_ips: []
            source_nat_drain_ips: []
            source_nat_drain_ranges: []
        description: private nat
        match: nexthop.is_hybrid
        rule_number: 0
    source_subnetwork_ip_ranges_to_nat: LIST_OF_SUBNETWORKS
    subnetwork:
      - secondary_ip_range_names: []
        source_ip_ranges_to_nat:
          - ALL_IP_RANGES
    tcp_established_idle_timeout_sec: 1200
    tcp_time_wait_timeout_sec: 120
    tcp_transitory_idle_timeout_sec: 30
    type: PRIVATE
    udp_idle_timeout_sec: 30
  module.vpc1.google_compute_network.network[0]:
    auto_create_subnetworks: false
    delete_default_routes_on_create: false
    description: Terraform-managed.
    enable_ula_internal_ipv6: null
    name: vpc1
    network_firewall_policy_enforcement_order: AFTER_CLASSIC_FIREWALL
    project: project-id
    routing_mode: GLOBAL
  module.vpc1.google_compute_subnetwork.private_nat["europe-west8/vpc1-nat"]:
    description: Terraform-managed private NAT subnet.
    ip_cidr_range: 192.168.15.0/24
    ipv6_access_type: null
    log_config: []
    name: vpc1-nat
    network: vpc1
    project: project-id
    purpose: PRIVATE_NAT
    region: europe-west8
    role: null
  module.vpc1.google_compute_subnetwork.subnetwork["europe-west8/vpc1-subnet"]:
    description: Terraform-managed.
    ip_cidr_range: 10.0.0.0/24
    ipv6_access_type: null
    log_config: []
    name: vpc1-subnet
    network: vpc1
    private_ip_google_access: true
    project: project-id
    region: europe-west8
    role: null

counts:
  google_compute_network: 1
  google_compute_route: 3
  google_compute_router: 1
  google_compute_router_nat: 1
  google_compute_subnetwork: 2
