Skip to content

Commit

Permalink
feat: Grant TEMPORARY to migration user
Browse files Browse the repository at this point in the history
  • Loading branch information
k3yss committed Aug 3, 2024
1 parent 05debd4 commit e3c9372
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 @@ -139,7 +139,7 @@ resource "postgresql_grant" "grant_connect_db_migration_user" {
database = each.value
role = postgresql_role.migration[0].name
object_type = "database"
privileges = ["CONNECT"]
privileges = ["CONNECT" , "TEMPORARY"]
depends_on = [
postgresql_role.migration
]
Expand Down

0 comments on commit e3c9372

Please sign in to comment.