26 Commits

Author SHA1 Message Date
Simon Roberts
ef3af4fd28 Include url_map_id in output from LB creation (#3947)
* Include url_map_id in output from LB creation

* tofu fmt
2026-05-08 07:57:01 +02:00
Julio Castillo
bc5b203a8f Add toggle to tfdoc to remove type hints (#3842)
* Add toggle to tfdoc to remove type hints

* Update all readmes

* Fix python formatting
2026-04-08 11:08:18 +00:00
Ludovico Magnocavallo
a4eb4d24fd Compute VM module refactor (#3805)
* add ad for compute-vm refactor

* Exclue nic_type from validated fields, add split of main.tf and template.tf

* boot disk

* fix examples and fixtures

* attached disks

* fix further examples and module-level tests

* remove extra file

* fix mig examples

* finish refactoring variables

* align fast and other modules

* refactor(compute-vm): align examples and ADR with the newly implemented interface

This commit addresses the remaining references of the `instance_type` and `confidential_compute` parameters in the testing environment and updates the ADR.

* feat(compute-vm): add network_performance_config to instance and templates

This change implements the usage of the `network_performance_tier` variable we added earlier into the actual Terraform resources.

---------

Co-authored-by: Wiktor Niesiobędzki <wiktorn@google.com>
2026-03-26 11:31:40 +00:00
Taneli Leppä
9592b5558b Clarify documentation wrt. backend service vs backend (#3804)
* Clarify documentation wrt. backend service vs backend

* Fix links
2026-03-19 14:50:39 +01:00
Cooper van Wijck
d9d0ce9002 fix(net-lb-app-ext-regional): use list(string) for route_rules cors_policy attributes (#3776)
* Update CORS policy in urlmap_config to use lists for allow_headers, allow_methods, and expose_headers

* Update README.md to clarify urlmap_config structure and options for load balancer configuration
2026-03-02 06:28:02 +00:00
Ludovico Magnocavallo
00796b73ba Support TLS settings in app load balancer modules (#3766) 2026-02-25 14:49:37 +00:00
Suryansh Singhal
f94033f098 improve configurability and resource references for internal ALB (#3654)
* refactor(net-lb-app-ext): improve configurability and resource references

- Allow overriding names for backend buckets and instance groups
- Add optional per-group description with default value
- Use self_link for instance group backend references
- Fix HTTP proxy name to use http_proxy_config

* reverted the instance group reference in backend service back to id instead of self link

* updated all the lb modules for unmanaged instance groups to have flexible names and proper refactorization of http_proxy_cofig in each module

* removed the description variable

* updated the readme.md for the net-lb-app-ext-regional module

* fixed the linting error for the change in versions.tf

---------

Co-authored-by: Julio Castillo <jccb@google.com>
Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2026-01-23 15:35:52 +00:00
labbott-hub24
5e6f9a4332 Added locality_lb_policy support to the regional ext alb module (#3638)
Added http_cookie to the session_affinity validation
doc update

Co-authored-by: Julio Castillo <jccb@google.com>
2026-01-12 12:50:53 +01:00
Wiktor Niesiobędzki
3d213e997e E2E fixes: load balancer and dataproc (#3252)
* Fix - load balancing mode must be RATE for Hybrid NEG

source: https://cloud.google.com/load-balancing/docs/negs/hybrid-neg-concepts

* Add service account and shielded configuration for GKE cluster
2025-07-29 16:30:43 +02:00
kovagoadam
3e0810dfef Add support for cross project NEGs (#3215)
* Added cross project NEG support
* Made neg_configs variable same as in net-lb-app-int
* Added support for cross-project negs in net-lb-app-ext-regional module


---------

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
Co-authored-by: Ludovico Magnocavallo <ludo@qix.it>
Co-authored-by: Julio Castillo <juliocc@gmail.com>
Co-authored-by: Wiktor Niesiobędzki <wiktorn@google.com>
2025-07-28 10:27:55 +02:00
Ayush Gupta
4035b35af3 Allow custom names and descriptions for load balancer components (#3223)
* feat: Changes for migrating resources to GLB module

* Updated Readme

* Added support for null description

* Added support for empty string

* Added default optional values

* Changed Readme

* Corrected description according to readme

* Added name and description changes for net-lb-app-ext-regional

* Added name and description changes for net-lb-app-int

* Added name and description changes for net-lb-app-int-cross-region

* Added name and description changes for net-lb-proxy-int

* Added name and description changes for net-lb-ext

* Added name and description changes for net-lb-int

* Changed Readme docs
2025-07-18 08:09:50 +02:00
Daniel
bd21b92504 Adding Regional Internet NEGs support (#3206)
* Adding Regional Internet NEGs support

* return version

* Align versions.tf

* Align versions file

* Fixing test inputs

* Reverting url map accidental change

* Fixed README example formatting

---------

Co-authored-by: Daniel Kanevsky <danny@opsguru.co.il>
Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2025-07-05 17:50:54 +02:00
Ludovico Magnocavallo
b9ea8a6c26 Allow creation of regional templates in compute-vm module (#3114)
* allow creation of regional templates in compute-vm module

* tfdoc

* fix blueprint
2025-05-27 14:18:40 +02:00
Stefano Tribioli
ffe1fbdfea Allow IAP configuration with default IdP
Load balancers can be configured with IAP-enabled backends.
They can either be configured to use external Identity Providers (IdP)
or to use Cloud Identity. The latter is the default and is used when
the OAuth2 parameters are not specified.

The iap_config parameter in the backend_service_configs variable
already supported the external IdP option, but did not support the
default one.
2025-04-11 16:19:17 +00:00
Wiktor Niesiobędzki
256ed8dc42 net-lb-app-* support any ports now 2025-03-20 11:28:17 +01:00
Ludovico Magnocavallo
7f2ff08997 Address outstanding load balancer FRs (#2879)
* fix #2877

* fix #2866

* fixes #2865

* fixes #2865

* moved block

* fix standalone test

* blueprints
2025-02-11 18:09:02 +01:00
Wiktor Niesiobędzki
3f86056c78 Add path_template_match and path_template_rewrite support to internal load balancers 2024-12-09 09:32:48 +01:00
Taneli Leppä
c27da296b1 Add rest of load balancers. 2024-12-09 09:32:48 +01:00
vivianvarela
35d61e4cda update readme with cross project backend external regional/global LB - review (#2457)
* update readme with cross project backend external regional LB

* update readme with cross project backend external global LB

* update readme with cross project backend external regional/global LB

* merge

* update readme with cross project backend external regional/global LB - review

* Fix README

---------

Co-authored-by: Julio Castillo <jccb@google.com>
2024-07-30 17:28:13 +02:00
apichick
c81bc84e3a Added certificate_manager_certificates to app load balancers (#2415)
* Added forward_proxy_uri to apigee environments in apigee-x-foundations blueprint

* Added certificate_manager_certificates to app load balancers
2024-07-09 07:36:06 +02:00
Wiktor Niesiobędzki
ea564df648 Add documentation for load balancer changes (#2336)
---------

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2024-06-03 06:47:48 +00:00
Ludovico Magnocavallo
621719abc6 fix cors policy type in lb app ext modules (#2098) 2024-02-20 08:17:25 +01:00
Wiktor Niesiobędzki
2a66fcab2e Fix HTTP to HTTPS example 2024-01-06 12:05:53 +01:00
Wiktor Niesiobędzki
05dd4b89b6 Enable E2E tests for net-lb-app-ext-regional
HTTP to HTTPS needs work, now fails with:
Error: Error creating ForwardingRule: googleapi: Error 400: Invalid value for field 'resource.IPAddress': '34.160.52.156'. Invalid IP address specified., invalid

  with module.ralb-test-0-redirect.google_compute_forwarding_rule.default,
  on fabric/modules/net-lb-app-ext-regional/main.tf line 32, in resource "google_compute_forwarding_rule" "default":
  32: resource "google_compute_forwarding_rule" "default" {
2024-01-06 12:05:53 +01:00
Wiktor Niesiobędzki
a6e377fad2 Rename compute-mig-bc.tf to compute-vm-group-bc.tf 2024-01-06 12:05:53 +01:00
Julio Castillo
8beb621e07 New module for external regional application load balancer (#1892)
* Initial version of regional external application load balancer.

* Fix tests

* Remove unsupported features in regional app lbs

* update readme with fixtures

* Add ssl-certificate fixture

* Switch examples to regions b c

* Remove redundant NEG examples

* Update README

* Update versions.tf

* Add missing boilerplate
2024-01-05 16:59:27 +01:00