Skip to content

Commit

Permalink
chore: Add ssl_mode from reuire_ssl
Browse files Browse the repository at this point in the history
  • Loading branch information
theishshah committed Dec 11, 2024
1 parent afac51c commit cb3de5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/database/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ resource "google_sql_database_instance" "default" {
ip_configuration {
ipv4_enabled = false
private_network = var.network_connection.network
ssl_mode = var.force_ssl ? "TRUSTED_CLIENT_CERTIFICATE_REQUIRED" : "ALLOW_UNENCRYPTED_AND_ENCRYPTED"
require_ssl = var.force_ssl
}

Expand Down

0 comments on commit cb3de5f

Please sign in to comment.