We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9e22cb7 + f903ec9 commit 02a3a5dCopy full SHA for 02a3a5d
main.tf
@@ -35,6 +35,7 @@ resource "google_sql_database_instance" "default" {
35
pricing_plan = "${var.pricing_plan}"
36
replication_type = "${var.replication_type}"
37
database_flags = ["${var.database_flags}"]
38
+ availability_type = "${var.availability_type}"
39
}
40
41
replica_configuration = ["${var.replica_configuration}"]
variables.tf
@@ -143,3 +143,8 @@ variable replica_configuration {
143
type = "list"
144
default = []
145
146
+
147
+variable availability_type {
148
+ description = "This specifies whether a PostgreSQL instance should be set up for high availability (REGIONAL) or single zone (ZONAL)."
149
+ default = "ZONAL"
150
+}
0 commit comments