# 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.addresses.google_compute_address.external["a1"]:
    address_type: EXTERNAL
    name: a1
    project: my-project
    region: europe-west1
  module.addresses.google_compute_address.external["a2"]:
    address_type: EXTERNAL
    name: a2
    project: my-project
    region: europe-west1
  module.addresses.google_compute_address.external["a3"]:
    address_type: EXTERNAL
    name: a3
    project: my-project
    region: europe-west1
  module.nat.google_compute_router.router[0]:
    name: nat-nat
    network: my-vpc
    project: my-project
    region: europe-west1
  module.nat.google_compute_router_nat.nat:
    enable_dynamic_port_allocation: false
    enable_endpoint_independent_mapping: false
    icmp_idle_timeout_sec: 30
    name: nat
    nat_ip_allocate_option: MANUAL_ONLY
    project: my-project
    region: europe-west1
    router: nat-nat
    rules:
    - action:
      - source_nat_drain_ips: []
      description: rule1
      match: destination.ip == '8.8.8.8'
      rule_number: 0

counts:
  google_compute_address: 3
  google_compute_router: 1
  google_compute_router_nat: 1
