github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/avd_docs/google/sql/AVD-GCP-0015/Terraform.md (about) 1 2 Enforce SSL for all connections 3 4 ```hcl 5 resource "google_sql_database_instance" "postgres" { 6 name = "postgres-instance-a" 7 database_version = "POSTGRES_11" 8 9 settings { 10 tier = "db-f1-micro" 11 12 ip_configuration { 13 ipv4_enabled = false 14 authorized_networks { 15 value = "108.12.12.0/24" 16 name = "internal" 17 } 18 require_ssl = true 19 } 20 } 21 } 22 23 ``` 24 25 #### Remediation Links 26 - https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/sql_database_instance 27