Add net-lb-proxy-int-cross-region module and tests (#4017)
* Add net-lb-proxy-int-cross-region module and tests * Add context support example and tests * Update copyright to 2026 and support instance group backends * docs: correct Instance Groups support note in README
This commit is contained in:
161
tests/modules/net_lb_proxy_int_cross_region/instance-groups.yaml
Normal file
161
tests/modules/net_lb_proxy_int_cross_region/instance-groups.yaml
Normal file
@@ -0,0 +1,161 @@
|
||||
# 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
|
||||
#
|
||||
# https://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:
|
||||
google_compute_backend_service.default:
|
||||
affinity_cookie_ttl_sec: null
|
||||
backend:
|
||||
- balancing_mode: UTILIZATION
|
||||
capacity_scaler: 1
|
||||
custom_metrics: []
|
||||
description: Terraform managed.
|
||||
preference: ''
|
||||
traffic_duration: ''
|
||||
circuit_breakers: []
|
||||
compression_mode: null
|
||||
connection_draining_timeout_sec: 300
|
||||
consistent_hash: []
|
||||
custom_metrics: []
|
||||
custom_request_headers: null
|
||||
custom_response_headers: null
|
||||
deletion_policy: DELETE
|
||||
description: Terraform managed.
|
||||
dynamic_forwarding: []
|
||||
edge_security_policy: null
|
||||
enable_cdn: null
|
||||
external_managed_migration_state: null
|
||||
external_managed_migration_testing_percentage: null
|
||||
ip_address_selection_policy: null
|
||||
load_balancing_scheme: INTERNAL_MANAGED
|
||||
locality_lb_policies: []
|
||||
locality_lb_policy: null
|
||||
max_stream_duration: []
|
||||
name: proxy-cr-ig-test
|
||||
network_pass_through_lb_traffic_policy: []
|
||||
outlier_detection: []
|
||||
params: []
|
||||
project: my-project
|
||||
protocol: TCP
|
||||
security_policy: null
|
||||
security_settings: []
|
||||
service_lb_policy: null
|
||||
session_affinity: NONE
|
||||
strong_session_affinity_cookie: []
|
||||
timeouts: null
|
||||
tls_settings: []
|
||||
google_compute_global_forwarding_rule.default["europe-west1"]:
|
||||
allow_psc_global_access: null
|
||||
deletion_policy: DELETE
|
||||
description: Terraform managed.
|
||||
external_managed_backend_bucket_migration_state: null
|
||||
external_managed_backend_bucket_migration_testing_percentage: null
|
||||
ip_protocol: TCP
|
||||
ip_version: null
|
||||
labels: null
|
||||
load_balancing_scheme: INTERNAL_MANAGED
|
||||
metadata_filters: []
|
||||
name: proxy-cr-ig-test-europe-west1
|
||||
network: network
|
||||
no_automate_dns_zone: null
|
||||
port_range: '80'
|
||||
project: my-project
|
||||
source_ip_ranges: null
|
||||
subnetwork: subnet-ew1
|
||||
timeouts: null
|
||||
google_compute_global_forwarding_rule.default["europe-west4"]:
|
||||
allow_psc_global_access: null
|
||||
deletion_policy: DELETE
|
||||
description: Terraform managed.
|
||||
external_managed_backend_bucket_migration_state: null
|
||||
external_managed_backend_bucket_migration_testing_percentage: null
|
||||
ip_protocol: TCP
|
||||
ip_version: null
|
||||
labels: null
|
||||
load_balancing_scheme: INTERNAL_MANAGED
|
||||
metadata_filters: []
|
||||
name: proxy-cr-ig-test-europe-west4
|
||||
network: network
|
||||
no_automate_dns_zone: null
|
||||
port_range: '80'
|
||||
project: my-project
|
||||
source_ip_ranges: null
|
||||
subnetwork: subnet-ew4
|
||||
timeouts: null
|
||||
google_compute_health_check.default[0]:
|
||||
check_interval_sec: 5
|
||||
deletion_policy: DELETE
|
||||
description: Terraform managed.
|
||||
grpc_health_check: []
|
||||
grpc_tls_health_check: []
|
||||
healthy_threshold: 2
|
||||
http2_health_check: []
|
||||
http_health_check: []
|
||||
https_health_check: []
|
||||
name: proxy-cr-ig-test
|
||||
project: my-project
|
||||
source_regions: null
|
||||
ssl_health_check: []
|
||||
tcp_health_check:
|
||||
- port: null
|
||||
port_name: null
|
||||
port_specification: USE_SERVING_PORT
|
||||
proxy_header: NONE
|
||||
request: null
|
||||
response: null
|
||||
timeout_sec: 5
|
||||
timeouts: null
|
||||
unhealthy_threshold: 2
|
||||
google_compute_instance_group.default["ig-a"]:
|
||||
deletion_policy: DELETE
|
||||
description: Terraform managed.
|
||||
instances:
|
||||
- projects/my-project/zones/europe-west1-b/instances/vm-a
|
||||
name: proxy-cr-ig-test-ig-a
|
||||
named_port: []
|
||||
project: my-project
|
||||
timeouts: null
|
||||
zone: europe-west1-b
|
||||
google_compute_target_tcp_proxy.default:
|
||||
deletion_policy: DELETE
|
||||
description: Terraform managed.
|
||||
name: proxy-cr-ig-test
|
||||
project: my-project
|
||||
proxy_header: NONE
|
||||
timeouts: null
|
||||
|
||||
counts:
|
||||
google_compute_backend_service: 1
|
||||
google_compute_global_forwarding_rule: 2
|
||||
google_compute_health_check: 1
|
||||
google_compute_instance_group: 1
|
||||
google_compute_target_tcp_proxy: 1
|
||||
modules: 0
|
||||
resources: 6
|
||||
|
||||
outputs:
|
||||
addresses: __missing__
|
||||
backend_service: __missing__
|
||||
backend_service_id: __missing__
|
||||
backend_service_self_link: __missing__
|
||||
forwarding_rules: __missing__
|
||||
group_self_links: __missing__
|
||||
groups: __missing__
|
||||
health_check: __missing__
|
||||
health_check_id: __missing__
|
||||
health_check_self_link: __missing__
|
||||
ids: __missing__
|
||||
neg_ids: {}
|
||||
psc_neg_ids: {}
|
||||
target_proxy: __missing__
|
||||
target_proxy_id: __missing__
|
||||
Reference in New Issue
Block a user