terraform-provider-postgresql
terraform-provider-postgresql copied to clipboard
Lack of owner attribute on the grant resource
postgresql_grant
resource lacks owner
attribute, similar to postgresql_default_priviliges
Without it, it is impossible to manage multiple users across multiple databases with one provider, at least on RDS (no superuser).
As we already allow such use case with other resources - with hacks such as temporary grant for the connected user - we should make sure all resources offer similar capabilities.