Skip to content

Commit

Permalink
feat: Add cloudsql.pg_shadow_select_role
Browse files Browse the repository at this point in the history
  • Loading branch information
k3yss committed Jul 29, 2024
1 parent adf28fb commit ae6f4dc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion modules/postgresql/gcp/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,12 @@ resource "google_sql_database_instance" "instance" {
}, {
name = "cloudsql.enable_pglogical"
value = "on"
}] : []
}, {
# for exporting users after the database is migrated
name = "cloudsql.pg_shadow_select_role"
value = google_sql_user.admin.name
}
] : []
content {
name = database_flags.value.name
value = database_flags.value.value
Expand Down

0 comments on commit ae6f4dc

Please sign in to comment.