Commit Graph

46 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
Luca Prete
5ca68a3de0 Add context to net-lb-app-ext module (#3879) 2026-04-17 14:00:56 +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
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
Patrick Lubach
9651e39e17 Add custom error response policy for route rules to external application load balancer module. (#3353)
* feat: Add custom_error_response_policy support for route_rules

* feat: Add custom_error_response_policy support for route_rules

---------

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2025-09-27 07:38:13 +00:00
Josh Myers
5bbd47e9ac feat: Support serverless_deployment NEG for api gateway (#3323) 2025-09-16 11:11:59 +02:00
Ludovico Magnocavallo
b6baf05c49 Add http_keep_alive_timeout_sec to application load balancers (#3320)
* net-lb-app-ext

* net-lb-app-int-cross-region
2025-09-12 12:17:01 +00:00
norbert-loderer
634c06e5a1 Add cross project support for backend bucket (#3273)
* Added cross project support for backend bucket.

* Ran terraform fmt.

* Ran tfdoc.

---------

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2025-08-14 09:08:54 +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
apichick
42641397e3 Fixed problem with backend preference, changed it to boolean. Backend preference can only be PREFERRED or null 2025-06-12 07:40:39 +02:00
apichick
12b206a72f Added backend preference to global application load balancers (#3139) 2025-06-10 06:49:47 +00:00
apichick
665641ba7d Cloud Run with IAP recipe (#3129)
Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2025-06-08 12:51:08 +00: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
Luca Prete
1490b92285 Fix serverless NEG example in net-lb-app-ext (#3049) 2025-04-20 19:17:16 +00: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
Peter Norton
24b7297f58 Add support for custom error response policies to net_lb_app_ext module (#2916)
* Add support for default custom error response policy

This update introduces the ability to define a default custom error response policy in the URL map module. It includes support for specifying error services and error response rules with match response codes, paths, and override response codes. This enhancement increases flexibility in handling custom error responses.

* Update error_service handling in URL map

Modified the error_service assignment to include a fallback lookup mechanism for backend IDs when the value is not null. This ensures robustness and avoids null references while maintaining existing behavior.

* Add custom error response policies in lower levels of URL map

* Update net-lb-app-ext README.md
2025-02-20 20:32:24 +01:00
Daniel Strebel
aab282bf19 feat: adding generated_id for backends to net-lb-app-ext (#2913) 2025-02-19 18:16:05 +01:00
jacklever-hub24
a8d7d401d6 Add support for locality policies to net-lb-app-ext module (#2898)
* Fix the missing locality_lb_policy value and add validation for it

* Added variables, dynamic blocks and validation to support locality_lb_policy/ies

* Formatting

* tfdoc generation

* Fix net-lb-app-ext readme

* Fixes for Ludo, coalesce and brevity

* fmt

* Revert null check due to failing tests

---------

Co-authored-by: Jack Lever <jack@thelevers.com.au>
Co-authored-by: Ludo <ludomagno@google.com>
2025-02-18 06:25:45 +00: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
Harvey Liu
59e3c87034 Update net-lb-app-ext security_settings variables (#2783)
* updates

- set client_tls_policy as optional
- set subject_alt_names as optional

* update

run cmd ./tools/tfdoc.py modules/net-lb-app-ext to fix linting error
2024-12-25 07:52:31 +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ä
73b6088132 Add path_template_match and path_template_rewrite support to net-lb-app-ext (required for React apps for example). 2024-12-09 09:32:48 +01:00
okguru1
dc0a27b8c2 Exposing aws_v4_authentication configuration in global external alb (#2539)
* added disable_default_snat variable

* add an option to disable default snat

* tfdoc readme

* change order of variables

* modify variable to exist within vpc_config and have a null default,
creating a conditional dynamic block to provide backward compatability

* defining disable snat variable in autopilot as it is also an option

* fix conditional

* update readme

* null is implied in optional bool

* update readmes

* expose aws_v4_authentication configuration option

* terraform fmt

* update readme

* use dynamic block and optional for new variable
2024-08-29 13:45:50 +00: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
Alejandro Leal
0363e2cb80 Several wording and typos updates
Several wording and typos updates
2024-06-27 07:36:19 +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
Tahar JEGHAM
1c99bae649 feat: enable mtls on external application application load balancer (#1979)
* feat: enable mtls on external application application load balancer

* refactor: move variable inside https_proxy_config block

---------

Co-authored-by: Julio Castillo <jccb@google.com>
2024-01-17 06:24:54 +00: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
c13a192755 Use zones b and c for MIG fixture (#1961) 2024-01-05 15:02:12 +00:00
Julio Castillo
cc079e3a32 net-lb-app-ext example fixes (#1959)
* Fix typos

* Small fixes net-lb-app-ext examples
2024-01-05 13:38:30 +00:00
Andy Bubune Amewuda
3edacd0aba Add e2e test for net_lb_app_ext module 2024-01-05 10:02:23 +01:00
Julio Castillo
fde7b76036 Allow per-module terraform fixtures (#1914)
* Allow terraform fixtures for examples

* Allow defining multiple fixtures, and named fixtures under tests/fixtures/

* Enable e2e for wiktorn

* Fix prepare_files call for e2e

* Move fixture to separate file, fix test

* Revert shallow-copying symlinks, performane penalty - 20%

* Update tfdoc.py to list used fixtures

---------

Co-authored-by: Wiktor Niesiobędzki <wiktorn@google.com>
2023-12-29 09:43:44 +00:00
Julio Castillo
7baa1f98d4 Output all neg ids in app lbs (#1879)
Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2023-11-23 08:41:31 +01:00
Luca Prete
7c6726e79b [net-address] enable ipv6 (#1821)
---------

Co-authored-by: Luca Prete <lucaprete@google.com>
2023-10-28 15:36:30 +02:00
Ludovico Magnocavallo
046575b7c6 GLB HTTP to HTTPS redirect example (#1719) 2023-10-02 10:10:24 +00:00
Julio Castillo
1fdec356e2 Update large TOCs 2023-07-28 15:43:51 +02:00
Ludovico Magnocavallo
31f7a9ecca allow external editing of group instances in lb modules (#1486) 2023-06-30 17:34:09 +00:00
Ludovico Magnocavallo
ac9417b82d align group names in lb modules (#1485) 2023-06-30 10:18:06 +00:00
Ludovico Magnocavallo
638841c8d1 Rename network load balancer modules (#1466)
* update LB modules to new names

* update LB modules names

* update test paths
2023-06-26 07:50:10 +00:00