You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| all\_ports | Boolean for all\_ports setting on forwarding rule. The `ports` or `all_ports` are mutually exclusive. |`bool`|`null`| no |
67
-
| backends | List of backends, should be a map of key-value pairs for each backend, must have the 'group' key. |`list(any)`| n/a | yes |
67
+
| all\_ports | Boolean for all\_ports setting on forwarding rule. The `ports` or `all_ports` are mutually exclusive. |`bool`|`false`| no |
68
+
| backends | List of backends, should be a map of key-value pairs for each backend, must have the 'group' key. |<pre>list(object({<br> group = string<br> description = optional(string)<br> failover = optional(bool)<br> }))</pre>| n/a | yes |
68
69
| connection\_draining\_timeout\_sec | Time for which instance will be drained |`number`|`null`| no |
69
70
| create\_backend\_firewall | Controls if firewall rules for the backends will be created or not. Health-check firewall rules are controlled separately. |`bool`|`true`| no |
70
71
| create\_health\_check\_firewall | Controls if firewall rules for the health check will be created or not. If this rule is not present backend healthcheck will fail. |`bool`|`true`| no |
71
72
| firewall\_enable\_logging | Controls if firewall rules that are created are to have logging configured. This will be ignored for firewall rules that are not created. |`bool`|`false`| no |
72
73
| global\_access | Allow all regions on the same VPC network access. |`bool`|`false`| no |
73
-
| health\_check | Health check to determine whether instances are responsive and able to do work | <pre>object({<br> type = string<br> check_interval_sec = optional(number)<br> healthy_threshold = optional(number)<br> timeout_sec = optional(number)<br> unhealthy_threshold = optional(number)<br> response = optional(string)<br> proxy_header = optional(string)<br> port = optional(number)<br> port_name = optional(string)<br> request = optional(string)<br> request_path = optional(string)<br> host = optional(string)<br> enable_log = optional(bool)<br> })</pre> | n/a | yes |
74
+
| health\_check | Health check to determine whether instances are responsive and able to do work | <pre>object({<br> type = string<br> check_interval_sec = optional(number)<br> healthy_threshold = optional(number)<br> timeout_sec = optional(number)<br> unhealthy_threshold = optional(number)<br> response = optional(string)<br> proxy_header = optional(string)<br> port = optional(number, 80)<br> port_name = optional(string)<br> request = optional(string)<br> request_path = optional(string)<br> host = optional(string)<br> enable_log = optional(bool, false)<br> })</pre> | n/a | yes |
74
75
| ip\_address | IP address of the internal load balancer, if empty one will be assigned. Default is empty. |`string`|`null`| no |
75
76
| ip\_protocol | The IP protocol for the backend and frontend forwarding rule. TCP or UDP. |`string`|`"TCP"`| no |
76
77
| is\_mirroring\_collector | Indicates whether or not this load balancer can be used as a collector for packet mirroring. This can only be set to true for load balancers that have their loadBalancingScheme set to INTERNAL. |`bool`|`false`| no |
77
78
| labels | The labels to attach to resources created by this module. |`map(string)`|`{}`| no |
78
79
| name | Name for the forwarding rule and prefix for supporting resources. |`string`| n/a | yes |
79
80
| network | Name of the network to create resources in. |`string`|`"default"`| no |
80
-
| network\_project | Name of the project for the network. Useful for shared VPC. Default is var.project. |`string`|`""`| no |
81
-
| ports | List of ports to forward to backend services. Max is 5. The `ports` or `all_ports` are mutually exclusive. |`list(string)`|`null`| no |
82
-
| project | The project to deploy to, if not set the default provider project is used. |`string`|`""`|no|
83
-
| region | Region for cloud resources. |`string`|`"us-central1"`|no|
81
+
| network\_project | Name of the project for the network. Useful for shared VPC. Default is var.project\_id. |`string`|`""`| no |
82
+
| ports | List of ports to forward to backend services. Max is 5. The `ports` or `all_ports` are mutually exclusive. |`list(string)`|<pre>[<br> "80"<br>]</pre>| no |
83
+
| project\_id| The project\_id to deploy to. |`string`|n/a|yes|
84
+
| region | Region for cloud resources. |`string`|n/a|yes|
84
85
| service\_label | Service label is used to create internal DNS name |`string`|`null`| no |
85
86
| session\_affinity | The session affinity for the backends example: NONE, CLIENT\_IP. Default is `NONE`. |`string`|`"NONE"`| no |
86
87
| source\_ip\_ranges | List of source ip ranges for traffic between the internal load balancer. |`list(string)`|`null`| no |
87
88
| source\_service\_accounts | List of source service accounts for traffic between the internal load balancer. |`list(string)`|`null`| no |
88
-
| source\_tags | List of source tags for traffic between the internal load balancer. |`list(string)`|n/a|yes|
89
+
| source\_tags | List of source tags for traffic between the internal load balancer. |`list(string)`|`[]`|no|
89
90
| subnetwork | Name of the subnetwork to create resources in. |`string`|`"default"`| no |
90
91
| target\_service\_accounts | List of target service accounts for traffic between the internal load balancer. |`list(string)`|`null`| no |
91
-
| target\_tags | List of target tags for traffic between the internal load balancer. |`list(string)`|n/a|yes|
92
+
| target\_tags | List of target tags for traffic between the internal load balancer. |`list(string)`|`[]`|no|
This version introduces breaking changes to align the module with Google's **Application Design Center (ADC)** compliance standards.
4
+
5
+
## Breaking Changes
6
+
7
+
### Variable Rename: `project` to `project_id`
8
+
9
+
To maintain consistency across all Google Cloud blueprints and modules, the `project` input variable has been renamed to `project_id`. This change is required for ADC compliance.
| network | Name of the network to create resources in. |`string`| n/a | yes |
15
-
| project | The project id to deploy to |`string`| n/a | yes |
15
+
| project\_id| The project id to deploy to |`string`| n/a | yes |
16
16
| region | Region for cloud resources. |`string`| n/a | yes |
17
17
| service\_account | Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account| <pre>object({<br> email = string<br> scopes = set(string)<br> })</pre> | n/a | yes |
18
18
| subnetwork | Name of the subnetwork to create resources in. |`string`| n/a | yes |
0 commit comments