feat: 🎸 (modules/cloudsql-instance): enable require_ssl cert support (#1588)

This commit is contained in:
erabusi
2023-08-14 15:07:03 +05:30
committed by GitHub
parent ec56a86bbd
commit f9509ad6b7
3 changed files with 11 additions and 3 deletions

View File

@@ -64,6 +64,7 @@ resource "google_sql_database_instance" "primary" {
ipv4_enabled = var.ipv4_enabled
private_network = var.network
allocated_ip_range = var.allocated_ip_ranges.primary
require_ssl = var.require_ssl
dynamic "authorized_networks" {
for_each = var.authorized_networks != null ? var.authorized_networks : {}
iterator = network