github.com/aquasecurity/trivy-iac@v0.8.1-0.20240127024015-3d8e412cf0ab/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" "good_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