Skip to content

Commit 96495f4

Browse files
committed
chore: generate docs
1 parent abcc499 commit 96495f4

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

modules/backend/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This module creates `google_compute_backend_service` resource and its dependenci
2121
| health\_check | Input for creating HttpHealthCheck or HttpsHealthCheck resource for health checking this BackendService. A health check must be specified unless the backend service uses an internet or serverless NEG as a backend. | <pre>object({<br> host = optional(string, null)<br> request_path = optional(string, null)<br> request = optional(string, null)<br> response = optional(string, null)<br> port = optional(number, null)<br> port_name = optional(string, null)<br> proxy_header = optional(string, null)<br> port_specification = optional(string, null)<br> protocol = optional(string, null)<br> check_interval_sec = optional(number, 5)<br> timeout_sec = optional(number, 5)<br> healthy_threshold = optional(number, 2)<br> unhealthy_threshold = optional(number, 2)<br> logging = optional(bool, false)<br> })</pre> | `null` | no |
2222
| host\_path\_mappings | The list of host/path for which traffic could be sent to the backend service | <pre>list(object({<br> host = string<br> path = string<br> }))</pre> | <pre>[<br> {<br> "host": "*",<br> "path": "/*"<br> }<br>]</pre> | no |
2323
| iap\_config | Settings for enabling Cloud Identity Aware Proxy Structure. | <pre>object({<br> enable = bool<br> oauth2_client_id = optional(string)<br> oauth2_client_secret = optional(string)<br> })</pre> | <pre>{<br> "enable": false<br>}</pre> | no |
24-
| load\_balancing\_scheme | Load balancing scheme type (EXTERNAL for classic external load balancer, EXTERNAL\_MANAGED for Envoy-based load balancer, and INTERNAL\_SELF\_MANAGED for traffic director). | `string` | `"EXTERNAL_MANAGED"` | no |
24+
| load\_balancing\_scheme | Load balancing scheme type (EXTERNAL for classic external load balancer, EXTERNAL\_MANAGED for Envoy-based load balancer, and INTERNAL\_MANAGED for internal load balancer) | `string` | `"EXTERNAL_MANAGED"` | no |
2525
| locality\_lb\_policy | The load balancing algorithm used within the scope of the locality. | `string` | `null` | no |
2626
| log\_config | This field denotes the logging options for the load balancer traffic served by this backend service. If logging is enabled, logs will be exported to Stackdriver. | <pre>object({<br> enable = bool<br> sample_rate = number<br> })</pre> | <pre>{<br> "enable": true,<br> "sample_rate": 1<br>}</pre> | no |
2727
| name | Name for the backend service. | `string` | n/a | yes |

modules/backend/metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ spec:
7979
varType: string
8080
required: true
8181
- name: load_balancing_scheme
82-
description: Load balancing scheme type (EXTERNAL for classic external load balancer, EXTERNAL_MANAGED for Envoy-based load balancer, and INTERNAL_SELF_MANAGED for traffic director).
82+
description: Load balancing scheme type (EXTERNAL for classic external load balancer, EXTERNAL_MANAGED for Envoy-based load balancer, and INTERNAL_MANAGED for internal load balancer)
8383
varType: string
8484
defaultValue: EXTERNAL_MANAGED
8585
- name: protocol

modules/frontend/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ This module creates `HTTP(S) forwarding rule` and its dependencies. This modules
1919
| http\_port | The port for the HTTP load balancer | `number` | `80` | no |
2020
| https\_port | The port for the HTTPS load balancer | `number` | `443` | no |
2121
| https\_redirect | Set to `true` to enable https redirect on the lb. | `bool` | `false` | no |
22-
| internal\_forwarding\_rules\_config | List of internal managed forwarding rules config. One of 'address' or 'subnetwork' is required for each. | <pre>list(object({<br> address = optional(string)<br> subnetwork = optional(string)<br> }))</pre> | `[]` | no |
22+
| internal\_forwarding\_rules\_config | List of internal managed forwarding rules config. One of 'address' or 'subnetwork' is required for each. It is only applicable for internal load balancer | <pre>list(object({<br> region = string<br> address = optional(string)<br> subnetwork = optional(string)<br> }))</pre> | `[]` | no |
2323
| ipv6\_address | An existing IPv6 address to use (the actual IP address value) | `string` | `null` | no |
2424
| labels | The labels to attach to resources created by this module | `map(string)` | `{}` | no |
25-
| load\_balancing\_scheme | Load balancing scheme type (EXTERNAL for classic external load balancer, EXTERNAL\_MANAGED for Envoy-based load balancer, and INTERNAL\_SELF\_MANAGED for traffic director) | `string` | `"EXTERNAL_MANAGED"` | no |
25+
| load\_balancing\_scheme | Load balancing scheme type (EXTERNAL for classic external load balancer, EXTERNAL\_MANAGED for Envoy-based load balancer, and INTERNAL\_MANAGED for internal load balancer) | `string` | `"EXTERNAL_MANAGED"` | no |
2626
| managed\_ssl\_certificate\_domains | Create Google-managed SSL certificates for specified domains. Requires `ssl` to be set to `true` | `list(string)` | `[]` | no |
2727
| name | Name for the forwarding rule and prefix for supporting resources | `string` | n/a | yes |
28-
| network | Network for INTERNAL\_SELF\_MANAGED/INTERNAL\_MANAGED load balancing scheme | `string` | `"default"` | no |
28+
| network | Network for INTERNAL\_MANAGED load balancing scheme | `string` | `"default"` | no |
2929
| private\_key | Content of the private SSL key. Requires `ssl` to be set to `true` and `create_ssl_certificate` set to `true` | `string` | `null` | no |
3030
| project\_id | The project to deploy to, if not set the default provider project is used. | `string` | n/a | yes |
3131
| quic | Specifies the QUIC override policy for this resource. Set true to enable HTTP/3 and Google QUIC support, false to disable both. Defaults to null which enables support for HTTP/3 only. | `bool` | `null` | no |

modules/frontend/metadata.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,11 +166,11 @@ spec:
166166
varType: map(string)
167167
defaultValue: {}
168168
- name: load_balancing_scheme
169-
description: Load balancing scheme type (EXTERNAL for classic external load balancer, EXTERNAL_MANAGED for Envoy-based load balancer, and INTERNAL_SELF_MANAGED for traffic director)
169+
description: Load balancing scheme type (EXTERNAL for classic external load balancer, EXTERNAL_MANAGED for Envoy-based load balancer, and INTERNAL_MANAGED for internal load balancer)
170170
varType: string
171171
defaultValue: EXTERNAL_MANAGED
172172
- name: network
173-
description: Network for INTERNAL_SELF_MANAGED/INTERNAL_MANAGED load balancing scheme
173+
description: Network for INTERNAL_MANAGED load balancing scheme
174174
varType: string
175175
defaultValue: default
176176
- name: server_tls_policy
@@ -188,9 +188,10 @@ spec:
188188
description: Specifies how long to keep a connection open, after completing a response, while there is no matching traffic (in seconds).
189189
varType: number
190190
- name: internal_forwarding_rules_config
191-
description: List of internal managed forwarding rules config. One of 'address' or 'subnetwork' is required for each.
191+
description: List of internal managed forwarding rules config. One of 'address' or 'subnetwork' is required for each. It is only applicable for internal load balancer
192192
varType: |-
193193
list(object({
194+
region = string
194195
address = optional(string)
195196
subnetwork = optional(string)
196197
}))

0 commit comments

Comments
 (0)