DBaaS Postgres User
Creates and manages DbaaS Postgres User objects.
Manages a DbaaS PgSql User.
Example Usage
Create a PgSQL
cluster as presented in the documentation for the cluster, then define a user resource and link it with the previously created cluster:
Argument reference
cluster_id
- (Required)[string] The unique ID of the cluster. Updates to the value of the field force the cluster to be re-created.username
- (Required)[string] Used for authentication. Updates to the value of the field force the cluster to be re-created.password
- (Required)[string] User password.is_system_user
- (Computed)[bool] Describes whether this user is a system user or not. A system user cannot be updated or deleted.
Import
In order to import a PgSql user, you can define an empty user resource in the plan:
The resource can be imported using the clusterId
and the username
, for example:
Last updated