-
Notifications
You must be signed in to change notification settings - Fork 243
Open
Labels
waiting-responseFurther information is requestedFurther information is requested
Description
According to the documentation (https://registry.terraform.io/providers/cyrilgdn/postgresql/latest/docs/resources/postgresql_role), there doesn't seem to be a way to create a new ROLE and define an admin (or a set of admins) for that role.
In PostgresSQL this is achieved with the ADMIN
option on CREATE ROLE
https://www.postgresql.org/docs/current/sql-createrole.html
Are there any plans to support this in this provider? If not, what is the recommended approach to set these on creation?
The real-world scenario here is that on a shared server, the dba
account can create tenant specific roles T_admin
/T_read
/T_write
, with the idea to have T_admin
be able to manage memberships of T_read
and T_write
Thanks!
Metadata
Metadata
Assignees
Labels
waiting-responseFurther information is requestedFurther information is requested