Skip to content

Commit 28186dd

Browse files
author
Evy Bongers
authored
Merge branch 'main' into fix/maintenance-window
2 parents a35269b + f0b3bd7 commit 28186dd

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

instance.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ resource "google_sql_database_instance" "instance" {
6262
}
6363
}
6464

65-
location_preference {
66-
follow_gae_application = null
67-
zone = null
68-
}
65+
# location_preference {
66+
# follow_gae_application = null
67+
# zone = null
68+
# }
6969

7070
dynamic "maintenance_window" {
7171
for_each = local.needs_maintenance_window

user.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ resource "random_password" "admin_user" {
22
length = 48
33
}
44

5-
resource "google_sql_user" "postgres_user" {
5+
resource "google_sql_user" "admin_user" {
66
instance = google_sql_database_instance.instance.name
77

88
name = local.admin_user
99
password = random_password.admin_user.result
10-
type = "BUILT_IN"
10+
type = "" # Equivalent of "BUILT_IN"
1111

1212
deletion_policy = null
1313
}

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ variable "insights_config" {
6767

6868
variable "ipv4_enabled" {
6969
type = bool
70-
default = false
70+
default = true
7171
}
7272

7373
variable "labels" {

0 commit comments

Comments
 (0)