Pass edition and other parameters to replicas

This commit is contained in:
Wiktor Niesiobędzki
2025-03-17 10:25:17 +00:00
committed by Wiktor Niesiobędzki
parent 34e7d90448
commit fc256165a4
3 changed files with 20 additions and 6 deletions

View File

@@ -216,13 +216,19 @@ resource "google_sql_database_instance" "replicas" {
settings {
tier = var.tier
edition = var.edition
deletion_protection_enabled = var.gcp_deletion_protection
disk_autoresize = var.disk_size == null
disk_autoresize_limit = var.disk_autoresize_limit
disk_size = var.disk_size
disk_type = var.disk_type
# availability_type = var.availability_type
user_labels = var.labels
activation_policy = var.activation_policy
user_labels = var.labels
activation_policy = var.activation_policy
collation = var.collation
connector_enforcement = var.connector_enforcement
time_zone = var.time_zone
ip_configuration {
ipv4_enabled = (