# Copyright 2026 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.ilb-l7.google_compute_forwarding_rule.default:
    ip_address: 10.0.0.10
    ip_protocol: TCP
    load_balancing_scheme: INTERNAL_MANAGED
    name: ilb-test-0
    network: projects/foo-dev-net-spoke-0/global/networks/dev-spoke-0
    network_tier: PREMIUM
    port_range: '80'
    project: foo-test-0
    region: europe-west8
    subnetwork: projects/foo-dev-net-spoke-0/regions/europe-west8/subnetworks/gce
  module.ilb-l7.google_compute_health_check.default["default"]:
    check_interval_sec: 5
    description: Terraform managed.
    healthy_threshold: 2
    http_health_check:
    - host: hello.example.org
      port_specification: USE_SERVING_PORT
    name: ilb-test-0-default
    project: foo-test-0
    timeout_sec: 5
    unhealthy_threshold: 2
  module.ilb-l7.google_compute_instance_group.default["ig-c"]:
    description: Terraform managed.
    instances:
    - projects/foo-test-0/zones/europe-west8-c/instances/vm-c
    name: ilb-test-0-ig-c
    named_port:
    - name: http
      port: 80
    project: foo-test-0
    zone: europe-west8-c
  module.ilb-l7.google_compute_network_endpoint.default["neg-gce-e-0"]:
    instance: nginx-ew8-b
    ip_address: $addresses:test
    network_endpoint_group: ilb-test-0-neg-gce
    port: 80
    project: foo-test-0
    zone: $locations:ew8-b
  module.ilb-l7.google_compute_network_endpoint.default["neg-hybrid-e-0"]:
    ip_address: $addresses:test-hybrid
    network_endpoint_group: ilb-test-0-neg-hybrid
    port: 80
    project: foo-test-0
    zone: $locations:ew8-b
  module.ilb-l7.google_compute_network_endpoint_group.default["neg-gce"]:
    description: Terraform managed.
    name: ilb-test-0-neg-gce
    network: projects/foo-dev-net-spoke-0/global/networks/dev-spoke-0
    network_endpoint_type: GCE_VM_IP_PORT
    project: foo-test-0
    subnetwork: projects/foo-dev-net-spoke-0/regions/europe-west8/subnetworks/gce
    zone: $locations:ew8-b
  module.ilb-l7.google_compute_network_endpoint_group.default["neg-hybrid"]:
    description: Terraform managed.
    name: ilb-test-0-neg-hybrid
    network: projects/foo-dev-net-spoke-0/global/networks/dev-spoke-0
    network_endpoint_type: NON_GCP_PRIVATE_IP_PORT
    project: foo-test-0
    zone: $locations:ew8-b
  module.ilb-l7.google_compute_region_backend_service.default["default"]:
    backend:
    - balancing_mode: UTILIZATION
      capacity_scaler: 1
      description: Terraform managed.
      failover: false
      group: projects/foo-test-0/zones/europe-west8-b/instanceGroups/ig-b
    - balancing_mode: UTILIZATION
      capacity_scaler: 1
      description: Terraform managed.
      failover: false
    connection_draining_timeout_sec: 300
    description: Terraform managed.
    load_balancing_scheme: INTERNAL_MANAGED
    name: ilb-test-0-default
    project: foo-test-0
    protocol: HTTP
    region: europe-west8
  module.ilb-l7.google_compute_region_backend_service.default["neg-cloudrun"]:
    backend:
    - balancing_mode: UTILIZATION
      capacity_scaler: 1
      description: Terraform managed.
      failover: false
    connection_draining_timeout_sec: 300
    description: Terraform managed.
    load_balancing_scheme: INTERNAL_MANAGED
    name: ilb-test-0-neg-cloudrun
    project: foo-test-0
    protocol: HTTP
    region: europe-west8
  module.ilb-l7.google_compute_region_backend_service.default["neg-gce"]:
    backend:
    - balancing_mode: UTILIZATION
      capacity_scaler: 1
      description: Terraform managed.
      failover: false
    connection_draining_timeout_sec: 300
    description: Terraform managed.
    load_balancing_scheme: INTERNAL_MANAGED
    name: ilb-test-0-neg-gce
    project: foo-test-0
    protocol: HTTP
    region: europe-west8
  module.ilb-l7.google_compute_region_backend_service.default["neg-hybrid"]:
    backend:
    - balancing_mode: UTILIZATION
      capacity_scaler: 1
      description: Terraform managed.
      failover: false
    connection_draining_timeout_sec: 300
    description: Terraform managed.
    load_balancing_scheme: INTERNAL_MANAGED
    name: ilb-test-0-neg-hybrid
    project: foo-test-0
    protocol: HTTP
    region: europe-west8
  module.ilb-l7.google_compute_region_backend_service.default["neg-internet"]:
    backend:
    - balancing_mode: UTILIZATION
      capacity_scaler: 1
      description: Terraform managed.
      failover: false
    connection_draining_timeout_sec: 300
    description: Terraform managed.
    load_balancing_scheme: INTERNAL_MANAGED
    name: ilb-test-0-neg-internet
    project: foo-test-0
    protocol: HTTP
    region: europe-west8
  module.ilb-l7.google_compute_region_backend_service.default["neg-psc"]:
    backend:
    - balancing_mode: UTILIZATION
      capacity_scaler: 1
      description: Terraform managed.
      failover: false
    connection_draining_timeout_sec: 300
    description: Terraform managed.
    load_balancing_scheme: INTERNAL_MANAGED
    name: ilb-test-0-neg-psc
    project: foo-test-0
    protocol: HTTP
    region: europe-west8
  module.ilb-l7.google_compute_region_network_endpoint.internet["neg-internet-e-0"]:
    fqdn: hello.example.org
    port: 80
    project: foo-test-0
    region: $locations:ew8
    region_network_endpoint_group: ilb-test-0-neg-internet
  module.ilb-l7.google_compute_region_network_endpoint_group.default["neg-cloudrun"]:
    cloud_run:
    - service: hello
    description: Terraform managed.
    name: ilb-test-0-neg-cloudrun
    network_endpoint_type: SERVERLESS
    project: foo-test-0
    region: $locations:ew8
  module.ilb-l7.google_compute_region_network_endpoint_group.internet["neg-internet"]:
    description: Terraform managed.
    name: ilb-test-0-neg-internet
    network: projects/foo-dev-net-spoke-0/global/networks/dev-spoke-0
    network_endpoint_type: INTERNET_FQDN_PORT
    project: foo-test-0
    region: $locations:ew8
  module.ilb-l7.google_compute_region_network_endpoint_group.psc["neg-psc"]:
    name: ilb-test-0-neg-psc
    network: projects/foo-dev-net-spoke-0/global/networks/dev-spoke-0
    network_endpoint_type: PRIVATE_SERVICE_CONNECT
    project: foo-test-0
    psc_target_service: projects/foo-test-0/regions/europe-west8/serviceAttachments/sa
    region: $locations:ew8
    subnetwork: projects/foo-dev-net-spoke-0/regions/europe-west8/subnetworks/gce
  module.ilb-l7.google_compute_region_target_http_proxy.default[0]:
    description: Terraform managed.
    name: ilb-test-0
    project: foo-test-0
    region: europe-west8
  module.ilb-l7.google_compute_region_url_map.default:
    description: Terraform managed.
    host_rule:
    - hosts:
      - '*'
      path_matcher: pathmap
    name: ilb-test-0
    path_matcher:
    - name: pathmap
      path_rule:
      - paths:
        - /cloudrun
        - /cloudrun/*
      - paths:
        - /gce
        - /gce/*
      - paths:
        - /hybrid
        - /hybrid/*
      - paths:
        - /internet
        - /internet/*
      - paths:
        - /psc
        - /psc/*
    project: foo-test-0
    region: europe-west8

counts:
  google_compute_forwarding_rule: 1
  google_compute_health_check: 1
  google_compute_instance_group: 1
  google_compute_network_endpoint: 2
  google_compute_network_endpoint_group: 2
  google_compute_region_backend_service: 6
  google_compute_region_network_endpoint: 1
  google_compute_region_network_endpoint_group: 3
  google_compute_region_target_http_proxy: 1
  google_compute_region_url_map: 1
  modules: 1
  resources: 19
