From 480dab83e38a1dbc927d52a986195851be77dfdc Mon Sep 17 00:00:00 2001 From: Rishi Kumar <96657880+k3yss@users.noreply.github.com> Date: Wed, 14 Aug 2024 13:48:58 +0530 Subject: [PATCH] feat: use default admin for destination (#205) --- modules/postgresql/gcp/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/postgresql/gcp/main.tf b/modules/postgresql/gcp/main.tf index ecee0a71..d7af7616 100644 --- a/modules/postgresql/gcp/main.tf +++ b/modules/postgresql/gcp/main.tf @@ -229,7 +229,7 @@ resource "postgresql_grant" "grant_select_table_public_schema_migration_user" { } resource "google_sql_user" "admin" { - name = local.prep_upgrade_as_destination_db ? "postgres" : "${local.instance_name}-admin" + name = "${local.instance_name}-admin" instance = google_sql_database_instance.instance.name password = random_password.admin.result project = local.gcp_project