Skip to content

Commit 3c82493

Browse files
fix: set sane defaults for ip_configuration
1 parent 4812d0f commit 3c82493

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

modules/mysql/variables.tf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,10 @@ EOF
111111

112112
variable "ip_configuration" {
113113
description = "The ip configuration for the master instance."
114-
default = {}
114+
115+
default = {
116+
ipv4_enabled = "true"
117+
}
115118
}
116119

117120
// Read Replicas

modules/postgresql/variables.tf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,10 @@ variable "authorized_gae_applications" {
115115

116116
variable "ip_configuration" {
117117
description = "The ip configuration for the master instances."
118-
default = {}
118+
119+
default = {
120+
ipv4_enabled = "true"
121+
}
119122
}
120123

121124
variable "read_replica_size" {

0 commit comments

Comments
 (0)