diff --git a/modules/postgresql/gcp/main.tf b/modules/postgresql/gcp/main.tf index 501250ef..d45990e8 100644 --- a/modules/postgresql/gcp/main.tf +++ b/modules/postgresql/gcp/main.tf @@ -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 ]