* 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>
* 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>
* 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>
* Added cross project support for backend bucket.
* Ran terraform fmt.
* Ran tfdoc.
---------
Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
* 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>
* 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
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.
* 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
* 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>
* 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
* 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
* 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>