Name | Version |
---|---|
terraform | >= 1.0.0 |
digitalocean | ~> 2.0 |
Name | Version |
---|---|
digitalocean | ~> 2.0 |
No modules.
Name | Type |
---|---|
digitalocean_loadbalancer.this | resource |
digitalocean_project_resources.this | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
algorithm | The load balancing algorithm used to determine which backend Droplet will be selected by a client | string |
"round_robin" |
no |
droplet_ids | List of Droplet IDs that are meant to be associated with the Load Balancer | list(string) |
[] |
no |
droplet_tag | The name of a Droplet tag corresponding to Droplets to be assigned to the Load Balancers | string |
null |
no |
enable_backend_keepalive | A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets | bool |
false |
no |
enable_proxy_protocol | A boolean value indicating whether PROXY Protocol should be used to pass information from connecting client requests to the backend service | bool |
false |
no |
forwarding_rules | List of forwarding rules to be assigned with the Load Balancer | list(object({ |
n/a | yes |
healthcheck | Healthcheck configuration to apply to the Load Balancer | object({ |
null |
no |
name | Canonical name to give the Load Balancer | string |
n/a | yes |
project_id | The ID of the project to assign the resources to | string |
null |
no |
redirect_http_to_https | A boolean value indicating whether HTTP requests to the Load Balancer on port 80 will be redirected to HTTPS on port 443 | bool |
false |
no |
region | The DigitalOcean region to deploy resources to | string |
"nyc3" |
no |
size | The size of the Load Balancer | string |
"lb-small" |
no |
sticky_sessions | A sticky_sessions block to be assigned to the Load Balancer. | object({ |
{ |
no |
vpc_uuid | The ID of the VPC where the load balancer will be located | string |
null |
no |
Name | Description |
---|---|
id | The ID of the Load Balancer |
ip | The IP of the Load Balancer |
name | The Name of the Load Balancer |
project | ID of the project the Load Balancer belongs to |
region | The region of the Load Balancer |
urn | The uniform resource name for the Load Balancer |