Skip to content

Commit

Permalink
feat: use default admin for destination (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
k3yss authored Aug 14, 2024
1 parent c4c3cfb commit 480dab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/postgresql/gcp/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 480dab8

Please sign in to comment.