You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to request an additional flag for the postgresql_database-resource. Although it is possible to change the owner of the database itself with this resource, the owner of already created tables or sequences in this database is not altered. I would like to suggest an additional flag to be able to alter those objects, too, e.g.:
#458)
Hi,
this is my first Pull Request, so if something is missing or wrong, let
me know.
To resolve
[439](#439)
I suggest to add an additional parameter to the database resource called
`alter_object_ownership`. If set to true, it will issue a REASSIGN OWNED
BY query on the database when the owner changes, transfer the whole
ownership in the database from the previous owner to the new one.
As far as I can tell this is only possible if the user in the provider
configuration is a superuser or a user which has grants for both the
previous owner role and the new one. So I skipped the test in the
rds-like test suite.
---------
Co-authored-by: Lukas Albani <[email protected]>
Co-authored-by: Cyril Gaudin <[email protected]>
Hi there,
I would like to request an additional flag for the
postgresql_database
-resource. Although it is possible to change the owner of the database itself with this resource, the owner of already created tables or sequences in this database is not altered. I would like to suggest an additional flag to be able to alter those objects, too, e.g.:Terraform Configuration Files
If this feature request turns out to be useful, I am happy to provide a PR.
The text was updated successfully, but these errors were encountered: