github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/avd_docs/digitalocean/compute/AVD-DIG-0002/Terraform.md (about) 1 2 Switch to HTTPS to benefit from TLS security features 3 4 ```hcl 5 resource "digitalocean_loadbalancer" "bad_example" { 6 name = "bad_example-1" 7 region = "nyc3" 8 9 forwarding_rule { 10 entry_port = 443 11 entry_protocol = "https" 12 13 target_port = 443 14 target_protocol = "https" 15 } 16 17 droplet_ids = [digitalocean_droplet.web.id] 18 } 19 20 ``` 21 22 #### Remediation Links 23 - https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs/resources/loadbalancer 24