diff --git a/modules/net-lb-int/README.md b/modules/net-lb-int/README.md index f571f5af0..5d7f3b346 100644 --- a/modules/net-lb-int/README.md +++ b/modules/net-lb-int/README.md @@ -12,6 +12,7 @@ This module allows managing a GCE Internal Load Balancer and integrates the forw - [PSC service attachments](#psc-service-attachments) - [Regional health check](#regional-health-check) - [End to end example](#end-to-end-example) + - [Context](#context) - [Deploying changes to load balancer configurations](#deploying-changes-to-load-balancer-configurations) - [Issues](#issues) - [Recipes](#recipes) @@ -378,6 +379,62 @@ module "ilb" { # tftest modules=3 resources=7 e2e ``` +### Context + +The module supports the contexts interpolation. For example: + +```hcl +module "ilb" { + source = "./fabric/modules/net-lb-int" + project_id = "$project_ids:my-prj" + region = "$locations:primary-region" + name = "ilb-test" + service_label = "ilb-test" + forwarding_rules_config = { + default = { + address = "$addresses:lb-ip-addr" + } + } + vpc_config = { + network = "$networks:shared-vpc" + subnetwork = "$subnets:my-subnet" + } + group_configs = { + my-group = { + zone = "$locations:primary-zone" + instances = [ + "instance-1-self-link", + "instance-2-self-link" + ] + } + } + health_check_config = { + http = { + port = 80 + } + } + context = { + addresses = { + lb-ip-addr = "192.168.0.1" + } + locations = { + primary-region = "us-central1" + primary-zone = "us-central1-b" + } + networks = { + shared-vpc = "projects/prj-host/global/networks/shared-vpc" + } + project_ids = { + my-prj = "my-project-1" + } + subnets = { + my-subnet = "projects/prj-host/regions/us-central1/subnetworks/sub-1" + } + } +} +# tftest modules=1 resources=4 inventory=context.yaml +``` + ## Deploying changes to load balancer configurations For deploying changes to load balancer configuration please refer to [net-lb-app-ext README.md](../net-lb-app-ext/README.md#deploying-changes-to-load-balancer-configurations) diff --git a/modules/net-lb-int/groups.tf b/modules/net-lb-int/groups.tf index aa577a0db..cdb0ec426 100644 --- a/modules/net-lb-int/groups.tf +++ b/modules/net-lb-int/groups.tf @@ -1,5 +1,5 @@ /** - * Copyright 2023 Google LLC + * 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. diff --git a/modules/net-lb-int/health-check.tf b/modules/net-lb-int/health-check.tf index 16a3501dd..48875b68e 100644 --- a/modules/net-lb-int/health-check.tf +++ b/modules/net-lb-int/health-check.tf @@ -1,5 +1,5 @@ /** - * Copyright 2023 Google LLC + * 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. diff --git a/modules/net-lb-int/main.tf b/modules/net-lb-int/main.tf index 93a2b0fb6..56facb408 100644 --- a/modules/net-lb-int/main.tf +++ b/modules/net-lb-int/main.tf @@ -1,5 +1,5 @@ /** - * Copyright 2023 Google LLC + * 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. diff --git a/modules/net-lb-int/outputs.tf b/modules/net-lb-int/outputs.tf index a4d33b2ff..91e629c0a 100644 --- a/modules/net-lb-int/outputs.tf +++ b/modules/net-lb-int/outputs.tf @@ -1,5 +1,5 @@ /** - * Copyright 2023 Google LLC + * 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. diff --git a/modules/net-lb-int/recipe-ilb-next-hop/assets/gw.yaml b/modules/net-lb-int/recipe-ilb-next-hop/assets/gw.yaml index 73bd18dce..c1cbb3480 100644 --- a/modules/net-lb-int/recipe-ilb-next-hop/assets/gw.yaml +++ b/modules/net-lb-int/recipe-ilb-next-hop/assets/gw.yaml @@ -1,6 +1,6 @@ #cloud-config -# Copyright 2023 Google LLC +# 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. diff --git a/modules/net-lb-int/recipe-ilb-next-hop/backend.tf.sample b/modules/net-lb-int/recipe-ilb-next-hop/backend.tf.sample index e1bb8eaf5..0459df47b 100644 --- a/modules/net-lb-int/recipe-ilb-next-hop/backend.tf.sample +++ b/modules/net-lb-int/recipe-ilb-next-hop/backend.tf.sample @@ -1,4 +1,4 @@ -# Copyright 2023 Google LLC +# 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. diff --git a/modules/net-lb-int/recipe-ilb-next-hop/gateways.tf b/modules/net-lb-int/recipe-ilb-next-hop/gateways.tf index be89bacf6..16124124f 100644 --- a/modules/net-lb-int/recipe-ilb-next-hop/gateways.tf +++ b/modules/net-lb-int/recipe-ilb-next-hop/gateways.tf @@ -1,5 +1,5 @@ /** - * Copyright 2022 Google LLC + * 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. diff --git a/modules/net-lb-int/recipe-ilb-next-hop/main.tf b/modules/net-lb-int/recipe-ilb-next-hop/main.tf index 7f50799a7..a7abe9029 100644 --- a/modules/net-lb-int/recipe-ilb-next-hop/main.tf +++ b/modules/net-lb-int/recipe-ilb-next-hop/main.tf @@ -1,5 +1,5 @@ /** - * Copyright 2022 Google LLC + * 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. diff --git a/modules/net-lb-int/recipe-ilb-next-hop/outputs.tf b/modules/net-lb-int/recipe-ilb-next-hop/outputs.tf index c69501d92..23d4d27f1 100644 --- a/modules/net-lb-int/recipe-ilb-next-hop/outputs.tf +++ b/modules/net-lb-int/recipe-ilb-next-hop/outputs.tf @@ -1,5 +1,5 @@ /** - * Copyright 2022 Google LLC + * 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. diff --git a/modules/net-lb-int/recipe-ilb-next-hop/variables.tf b/modules/net-lb-int/recipe-ilb-next-hop/variables.tf index be59b2177..f9c314c6d 100644 --- a/modules/net-lb-int/recipe-ilb-next-hop/variables.tf +++ b/modules/net-lb-int/recipe-ilb-next-hop/variables.tf @@ -1,5 +1,5 @@ /** - * Copyright 2022 Google LLC + * 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. diff --git a/modules/net-lb-int/recipe-ilb-next-hop/vms.tf b/modules/net-lb-int/recipe-ilb-next-hop/vms.tf index c4ca452fd..f3a8d46c7 100644 --- a/modules/net-lb-int/recipe-ilb-next-hop/vms.tf +++ b/modules/net-lb-int/recipe-ilb-next-hop/vms.tf @@ -1,5 +1,5 @@ /** - * Copyright 2022 Google LLC + * 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. diff --git a/modules/net-lb-int/recipe-ilb-next-hop/vpc-left.tf b/modules/net-lb-int/recipe-ilb-next-hop/vpc-left.tf index 13d4501d1..f09f3c2c9 100644 --- a/modules/net-lb-int/recipe-ilb-next-hop/vpc-left.tf +++ b/modules/net-lb-int/recipe-ilb-next-hop/vpc-left.tf @@ -1,5 +1,5 @@ /** - * Copyright 2022 Google LLC + * 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. diff --git a/modules/net-lb-int/recipe-ilb-next-hop/vpc-right.tf b/modules/net-lb-int/recipe-ilb-next-hop/vpc-right.tf index e9cd4cd92..942ff9a44 100644 --- a/modules/net-lb-int/recipe-ilb-next-hop/vpc-right.tf +++ b/modules/net-lb-int/recipe-ilb-next-hop/vpc-right.tf @@ -1,5 +1,5 @@ /** - * Copyright 2022 Google LLC + * 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. diff --git a/modules/net-lb-int/variables.tf b/modules/net-lb-int/variables.tf index 8f21ad5e6..014c6cfe8 100644 --- a/modules/net-lb-int/variables.tf +++ b/modules/net-lb-int/variables.tf @@ -1,5 +1,5 @@ /** - * Copyright 2023 Google LLC + * 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. diff --git a/tests/modules/net_lb_int/context.tfvars b/tests/modules/net_lb_int/context.tfvars index c2aff4baf..3e42a0ccc 100644 --- a/tests/modules/net_lb_int/context.tfvars +++ b/tests/modules/net_lb_int/context.tfvars @@ -1,3 +1,17 @@ +# 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. + context = { addresses = { test = "10.0.0.10" diff --git a/tests/modules/net_lb_int/context.yaml b/tests/modules/net_lb_int/context.yaml index ceebc8374..a14414c18 100644 --- a/tests/modules/net_lb_int/context.yaml +++ b/tests/modules/net_lb_int/context.yaml @@ -1,4 +1,4 @@ -# Copyright 2025 Google LLC +# 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. diff --git a/tests/modules/net_lb_int/defaults.tfvars b/tests/modules/net_lb_int/defaults.tfvars index 6d09de6ef..b4e02e4a9 100644 --- a/tests/modules/net_lb_int/defaults.tfvars +++ b/tests/modules/net_lb_int/defaults.tfvars @@ -1,3 +1,17 @@ +# 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. + project_id = "my-project" region = "europe-west1" name = "ilb-test" diff --git a/tests/modules/net_lb_int/defaults.yaml b/tests/modules/net_lb_int/defaults.yaml index 9462f1a03..84e9c3831 100644 --- a/tests/modules/net_lb_int/defaults.yaml +++ b/tests/modules/net_lb_int/defaults.yaml @@ -1,4 +1,4 @@ -# Copyright 2023 Google LLC +# 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. diff --git a/tests/modules/net_lb_int/examples/context.yaml b/tests/modules/net_lb_int/examples/context.yaml new file mode 100644 index 000000000..9d987f10a --- /dev/null +++ b/tests/modules/net_lb_int/examples/context.yaml @@ -0,0 +1,114 @@ +# 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.google_compute_forwarding_rule.default["default"]: + all_ports: true + allow_global_access: true + allow_psc_global_access: null + description: null + ip_address: 192.168.0.1 + ip_collection: null + ip_protocol: TCP + is_mirroring_collector: null + labels: null + load_balancing_scheme: INTERNAL + name: ilb-test-default + network: projects/prj-host/global/networks/shared-vpc + no_automate_dns_zone: null + ports: null + project: my-project-1 + recreate_closed_psc: false + region: us-central1 + service_label: ilb-test + source_ip_ranges: null + subnetwork: projects/prj-host/regions/us-central1/subnetworks/sub-1 + target: null + timeouts: null + module.ilb.google_compute_health_check.default[0]: + check_interval_sec: 5 + description: Terraform managed. + grpc_health_check: [] + grpc_tls_health_check: [] + healthy_threshold: 2 + http2_health_check: [] + http_health_check: + - host: null + port: 80 + port_name: null + port_specification: null + proxy_header: NONE + request_path: / + response: null + https_health_check: [] + name: ilb-test + project: my-project-1 + source_regions: null + ssl_health_check: [] + tcp_health_check: [] + timeout_sec: 5 + timeouts: null + unhealthy_threshold: 2 + module.ilb.google_compute_instance_group.default["my-group"]: + description: Terraform managed. + instances: + - instance-2-self-link + name: ilb-test-my-group + named_port: [] + project: my-project-1 + timeouts: null + zone: us-central1-b + module.ilb.google_compute_region_backend_service.default: + affinity_cookie_ttl_sec: null + backend: [] + circuit_breakers: [] + connection_draining_timeout_sec: 300 + connection_tracking_policy: [] + consistent_hash: [] + custom_metrics: [] + description: Terraform managed. + dynamic_forwarding: [] + enable_cdn: null + failover_policy: [] + ha_policy: [] + iap: + - enabled: false + oauth2_client_id: null + oauth2_client_secret: null + ip_address_selection_policy: null + load_balancing_scheme: INTERNAL + locality_lb_policy: null + name: ilb-test + network: projects/prj-host/global/networks/shared-vpc + network_pass_through_lb_traffic_policy: [] + outlier_detection: [] + params: [] + project: my-project-1 + protocol: UNSPECIFIED + region: us-central1 + security_policy: null + strong_session_affinity_cookie: [] + subsetting: [] + timeouts: null + tls_settings: [] + +counts: + google_compute_forwarding_rule: 1 + google_compute_health_check: 1 + google_compute_instance_group: 1 + google_compute_region_backend_service: 1 + modules: 1 + resources: 4 + +outputs: {} diff --git a/tests/modules/net_lb_int/forwarding-rule.tfvars b/tests/modules/net_lb_int/forwarding-rule.tfvars index 5f5b1d24e..04b257b25 100644 --- a/tests/modules/net_lb_int/forwarding-rule.tfvars +++ b/tests/modules/net_lb_int/forwarding-rule.tfvars @@ -1,3 +1,17 @@ +# 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. + project_id = "my-project" region = "europe-west1" name = "ilb-test" diff --git a/tests/modules/net_lb_int/forwarding-rule.yaml b/tests/modules/net_lb_int/forwarding-rule.yaml index 449bbc9b4..f897bd1e1 100644 --- a/tests/modules/net_lb_int/forwarding-rule.yaml +++ b/tests/modules/net_lb_int/forwarding-rule.yaml @@ -1,4 +1,4 @@ -# Copyright 2023 Google LLC +# 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. diff --git a/tests/modules/net_lb_int/health-checks-grpc.tfvars b/tests/modules/net_lb_int/health-checks-grpc.tfvars index 78975d015..a3ca546b1 100644 --- a/tests/modules/net_lb_int/health-checks-grpc.tfvars +++ b/tests/modules/net_lb_int/health-checks-grpc.tfvars @@ -1,3 +1,17 @@ +# 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. + project_id = "my-project" region = "europe-west1" name = "ilb-test" diff --git a/tests/modules/net_lb_int/health-checks-grpc.yaml b/tests/modules/net_lb_int/health-checks-grpc.yaml index 8b15ac693..b165027b1 100644 --- a/tests/modules/net_lb_int/health-checks-grpc.yaml +++ b/tests/modules/net_lb_int/health-checks-grpc.yaml @@ -1,4 +1,4 @@ -# Copyright 2025 Google LLC +# 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. diff --git a/tests/modules/net_lb_int/health-checks-http.tfvars b/tests/modules/net_lb_int/health-checks-http.tfvars index 7bc933fdb..5723641db 100644 --- a/tests/modules/net_lb_int/health-checks-http.tfvars +++ b/tests/modules/net_lb_int/health-checks-http.tfvars @@ -1,3 +1,17 @@ +# 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. + project_id = "my-project" region = "europe-west1" name = "ilb-test" diff --git a/tests/modules/net_lb_int/health-checks-http.yaml b/tests/modules/net_lb_int/health-checks-http.yaml index b2c9fe915..9b2bc8aad 100644 --- a/tests/modules/net_lb_int/health-checks-http.yaml +++ b/tests/modules/net_lb_int/health-checks-http.yaml @@ -1,4 +1,4 @@ -# Copyright 2025 Google LLC +# 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. diff --git a/tests/modules/net_lb_int/health-checks-http2.tfvars b/tests/modules/net_lb_int/health-checks-http2.tfvars index 2fdcbee4c..807c862e9 100644 --- a/tests/modules/net_lb_int/health-checks-http2.tfvars +++ b/tests/modules/net_lb_int/health-checks-http2.tfvars @@ -1,3 +1,17 @@ +# 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. + project_id = "my-project" region = "europe-west1" name = "ilb-test" diff --git a/tests/modules/net_lb_int/health-checks-http2.yaml b/tests/modules/net_lb_int/health-checks-http2.yaml index ddbdaaab9..354ee0b09 100644 --- a/tests/modules/net_lb_int/health-checks-http2.yaml +++ b/tests/modules/net_lb_int/health-checks-http2.yaml @@ -1,4 +1,4 @@ -# Copyright 2025 Google LLC +# 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. diff --git a/tests/modules/net_lb_int/health-checks-https.tfvars b/tests/modules/net_lb_int/health-checks-https.tfvars index 0863d0340..ce3bbfab6 100644 --- a/tests/modules/net_lb_int/health-checks-https.tfvars +++ b/tests/modules/net_lb_int/health-checks-https.tfvars @@ -1,3 +1,17 @@ +# 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. + project_id = "my-project" region = "europe-west1" name = "ilb-test" diff --git a/tests/modules/net_lb_int/health-checks-https.yaml b/tests/modules/net_lb_int/health-checks-https.yaml index 33928296c..910cd4235 100644 --- a/tests/modules/net_lb_int/health-checks-https.yaml +++ b/tests/modules/net_lb_int/health-checks-https.yaml @@ -1,4 +1,4 @@ -# Copyright 2025 Google LLC +# 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. diff --git a/tests/modules/net_lb_int/health-checks-ssl.tfvars b/tests/modules/net_lb_int/health-checks-ssl.tfvars index e895bf5f3..ce2188cff 100644 --- a/tests/modules/net_lb_int/health-checks-ssl.tfvars +++ b/tests/modules/net_lb_int/health-checks-ssl.tfvars @@ -1,3 +1,17 @@ +# 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. + project_id = "my-project" region = "europe-west1" name = "ilb-test" diff --git a/tests/modules/net_lb_int/health-checks-ssl.yaml b/tests/modules/net_lb_int/health-checks-ssl.yaml index 19e340d33..60664b0af 100644 --- a/tests/modules/net_lb_int/health-checks-ssl.yaml +++ b/tests/modules/net_lb_int/health-checks-ssl.yaml @@ -1,4 +1,4 @@ -# Copyright 2025 Google LLC +# 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. diff --git a/tests/modules/net_lb_int/health-checks-tcp.tfvars b/tests/modules/net_lb_int/health-checks-tcp.tfvars index 73fd07574..04743e585 100644 --- a/tests/modules/net_lb_int/health-checks-tcp.tfvars +++ b/tests/modules/net_lb_int/health-checks-tcp.tfvars @@ -1,3 +1,17 @@ +# 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. + project_id = "my-project" region = "europe-west1" name = "ilb-test" diff --git a/tests/modules/net_lb_int/health-checks-tcp.yaml b/tests/modules/net_lb_int/health-checks-tcp.yaml index 8f5499c90..4482ff432 100644 --- a/tests/modules/net_lb_int/health-checks-tcp.yaml +++ b/tests/modules/net_lb_int/health-checks-tcp.yaml @@ -1,4 +1,4 @@ -# Copyright 2025 Google LLC +# 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. diff --git a/tests/modules/net_lb_int/tftest.yaml b/tests/modules/net_lb_int/tftest.yaml index 48254efb8..a691278c5 100644 --- a/tests/modules/net_lb_int/tftest.yaml +++ b/tests/modules/net_lb_int/tftest.yaml @@ -1,4 +1,4 @@ -# Copyright 2023 Google LLC +# 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.