From 9b0c496f5456c1ff311a3a1c601b44e38f9d8022 Mon Sep 17 00:00:00 2001 From: Aditya Saha Date: Thu, 4 Apr 2024 12:15:25 -0400 Subject: [PATCH] Add beta release note in the helper text --- docs/resources/loadbalancer.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docs/resources/loadbalancer.md b/docs/resources/loadbalancer.md index b5def3b72..83bcedeba 100644 --- a/docs/resources/loadbalancer.md +++ b/docs/resources/loadbalancer.md @@ -115,6 +115,12 @@ the backend service. Default value is `false`. * `droplet_ids` (Optional) - A list of the IDs of each droplet to be attached to the Load Balancer. * `droplet_tag` (Optional) - The name of a Droplet tag corresponding to Droplets to be assigned to the Load Balancer. * `firewall` (Optional) - A block containing rules for allowing/denying traffic to the Load Balancer. The `firewall` block is documented below. Only 1 firewall is allowed. +* `domains` (Optional) - A list of `domains` required to ingress traffic to a Global Load Balancer. The `domains` block is documented below. +**NOTE**: this is a closed beta feature and not available for public use. +* `glb_settings` (Optional) - A block containing `glb_settings` required to define target rules for a Global Load Balancer. The `glb_settings` block is documented below. +**NOTE**: this is a closed beta feature and not available for public use. +* `target_load_balancer_ids` (Optional) - A list of Load Balancer IDs to be attached behind a Global Load Balancer. +**NOTE**: this is a closed beta feature and not available for public use. `forwarding_rule` supports the following: @@ -148,6 +154,19 @@ the backend service. Default value is `false`. * `allow` - (Optional) A list of strings describing allow rules. Must be colon delimited strings of the form `{type}:{source}` * Ex. `deny = ["cidr:1.2.0.0/16", "ip:2.3.4.5"]` or `allow = ["ip:1.2.3.4", "cidr:2.3.4.0/24"]` +`domains` supports the following: + +* `name` - (Required) The domain name to be used for ingressing traffic to a Global Load Balancer. +* `is_managed` - (Optional) Control flag to specify whether the domain is managed by DigitalOcean. +* `certificate_id` - (Optional) The certificate ID to be used for TLS handshaking. + +`glb_settings` supports the following: + +* `target_protocol` - (Required) The protocol used for traffic from the Load Balancer to the backend Droplets. The possible values are: `http` and `https`. +* `target_port` - (Required) An integer representing the port on the backend Droplets to which the Load Balancer will send traffic. The possible values are: `80` for `http` and `443` for `https`. +* `cdn` - (Optional) CDN configuration supporting the following: + * `is_enabled` - (Optional) Control flag to specify if caching is enabled. + ## Attributes Reference