Skip to content

Commit

Permalink
Merge pull request #49 from remerge/fix-deprecation-warning
Browse files Browse the repository at this point in the history
Replace deprecated require_ssl for Cloud SQL instances
  • Loading branch information
hollow committed Aug 27, 2024
2 parents 6dc1484 + 5232e18 commit f60b04b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions google/sql/postgresql/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ resource "google_sql_database_instance" "main" {
tier = var.tier

ip_configuration {
require_ssl = false
ipv4_enabled = false
private_network = var.network
ipv4_enabled = false
ssl_mode = "ALLOW_UNENCRYPTED_AND_ENCRYPTED"
}

availability_type = "REGIONAL"
Expand Down

0 comments on commit f60b04b

Please sign in to comment.