Skip to content

Commit bf12fe1

Browse files
committed
chore: updated metadata.yaml and readme.md
1 parent ad90fb5 commit bf12fe1

File tree

7 files changed

+25
-9
lines changed

7 files changed

+25
-9
lines changed

examples/internal-lb-cloud-run/readme.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,5 @@ The forwarding rules and its dependecies are created as part of `frontend` modul
1616
| Name | Description | Type | Default | Required |
1717
|------|-------------|------|---------|:--------:|
1818
| project\_id | n/a | `string` | n/a | yes |
19-
| backend_region_a | n/a | `string` | `"us-east1"` | no |
20-
| backend_region_b | n/a | `string` | `"us-south1"` | no |
21-
| subnet_region_a | n/a | `string` | `"us-central1"` | no |
22-
| subnet_region_b | n/a | `string` | `"us-west1"` | no |
2319

2420
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

metadata.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ spec:
5858
location: examples/https-gke
5959
- name: https-redirect
6060
location: examples/https-redirect
61+
- name: internal-lb-cloud-run
62+
location: examples/internal-lb-cloud-run
6163
- name: lb-http-separate-frontend-and-backend
6264
location: examples/lb-http-separate-frontend-and-backend
6365
- name: mig-nat-http-lb

modules/backend/metadata.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ spec:
5050
location: examples/https-gke
5151
- name: https-redirect
5252
location: examples/https-redirect
53+
- name: internal-lb-cloud-run
54+
location: examples/internal-lb-cloud-run
5355
- name: lb-http-separate-frontend-and-backend
5456
location: examples/lb-http-separate-frontend-and-backend
5557
- name: mig-nat-http-lb

modules/dynamic_backends/metadata.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ spec:
5050
location: examples/https-gke
5151
- name: https-redirect
5252
location: examples/https-redirect
53+
- name: internal-lb-cloud-run
54+
location: examples/internal-lb-cloud-run
5355
- name: lb-http-separate-frontend-and-backend
5456
location: examples/lb-http-separate-frontend-and-backend
5557
- name: mig-nat-http-lb

modules/frontend/README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +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\_rule\_subnetworks | List of fully-qualified subnetwork IDs (e.g., projects/my-project/regions/us-central1/subnetworks/my-subnet). | `list(string)` | `[]` | no |
2223
| ipv6\_address | An existing IPv6 address to use (the actual IP address value) | `string` | `null` | no |
2324
| labels | The labels to attach to resources created by this module | `map(string)` | `{}` | no |
24-
| load\_balancing\_scheme | Load balancing scheme type (EXTERNAL for classic external load balancer, EXTERNAL\_MANAGED for Envoy-based load balancer, INTERNAL\_SELF\_MANAGED for traffic director and INTERNAL_MANAGED for cross-regional internal Envoy-based load balancer) | `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\_SELF\_MANAGED for traffic director) | `string` | `"EXTERNAL_MANAGED"` | no |
2526
| managed\_ssl\_certificate\_domains | Create Google-managed SSL certificates for specified domains. Requires `ssl` to be set to `true` | `list(string)` | `[]` | no |
2627
| name | Name for the forwarding rule and prefix for supporting resources | `string` | n/a | yes |
27-
| network | Network for INTERNAL\_SELF\_MANAGED load balancing scheme | `string` | `"default"` | no |
28+
| network | Network for INTERNAL\_SELF\_MANAGED/INTERNAL\_MANAGED load balancing scheme | `string` | `"default"` | no |
2829
| 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 |
2930
| project\_id | The project to deploy to, if not set the default provider project is used. | `string` | n/a | yes |
3031
| 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 |
@@ -40,13 +41,14 @@ This module creates `HTTP(S) forwarding rule` and its dependencies. This modules
4041

4142
| Name | Description |
4243
|------|-------------|
43-
| ip\_address\_http\_internal\_managed| The internal IPv4s assigned to the global internal fowarding rules. |
4444
| external\_ip | The external IPv4 assigned to the global fowarding rule. |
4545
| external\_ipv6\_address | The external IPv6 assigned to the global fowarding rule. |
4646
| http\_proxy | The HTTP proxy used by this module. |
4747
| https\_proxy | The HTTPS proxy used by this module. |
48+
| ip\_address\_internal\_managed\_http | The internal/external IP addresses assigned to the HTTP forwarding rules. |
49+
| ip\_address\_internal\_managed\_https | The internal/external IP addresses assigned to the HTTPS forwarding rules. |
4850
| ipv6\_enabled | Whether IPv6 configuration is enabled on this load-balancer |
4951
| ssl\_certificate\_created | The SSL certificate create from key/pem |
5052
| url\_map | The default URL map used by this module. |
5153

52-
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
54+
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

modules/frontend/metadata.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ spec:
5050
location: examples/https-gke
5151
- name: https-redirect
5252
location: examples/https-redirect
53+
- name: internal-lb-cloud-run
54+
location: examples/internal-lb-cloud-run
5355
- name: lb-http-separate-frontend-and-backend
5456
location: examples/lb-http-separate-frontend-and-backend
5557
- name: mig-nat-http-lb
@@ -168,7 +170,7 @@ spec:
168170
varType: string
169171
defaultValue: EXTERNAL_MANAGED
170172
- name: network
171-
description: Network for INTERNAL_SELF_MANAGED load balancing scheme
173+
description: Network for INTERNAL_SELF_MANAGED/INTERNAL_MANAGED load balancing scheme
172174
varType: string
173175
defaultValue: default
174176
- name: server_tls_policy
@@ -185,6 +187,10 @@ spec:
185187
- name: http_keep_alive_timeout_sec
186188
description: Specifies how long to keep a connection open, after completing a response, while there is no matching traffic (in seconds).
187189
varType: number
190+
- name: internal_forwarding_rule_subnetworks
191+
description: List of fully-qualified subnetwork IDs (e.g., projects/my-project/regions/us-central1/subnetworks/my-subnet).
192+
varType: list(string)
193+
defaultValue: []
188194
outputs:
189195
- name: external_ip
190196
description: The external IPv4 assigned to the global fowarding rule.
@@ -198,6 +204,10 @@ spec:
198204
- name: https_proxy
199205
description: The HTTPS proxy used by this module.
200206
type: string
207+
- name: ip_address_internal_managed_http
208+
description: The internal/external IP addresses assigned to the HTTP forwarding rules.
209+
- name: ip_address_internal_managed_https
210+
description: The internal/external IP addresses assigned to the HTTPS forwarding rules.
201211
- name: ipv6_enabled
202212
description: Whether IPv6 configuration is enabled on this load-balancer
203213
type: bool

modules/serverless_negs/metadata.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ spec:
5050
location: examples/https-gke
5151
- name: https-redirect
5252
location: examples/https-redirect
53+
- name: internal-lb-cloud-run
54+
location: examples/internal-lb-cloud-run
5355
- name: lb-http-separate-frontend-and-backend
5456
location: examples/lb-http-separate-frontend-and-backend
5557
- name: mig-nat-http-lb

0 commit comments

Comments
 (0)