DbaaS MSSQL
Database User
Terraform reference for Database User.
Schema Properties
| Property | Type | Description |
|---|---|---|
create_date Computed | string | SQL Server login creation date |
database_roles Computed | string | Per-database role memberships as JSON (db_name to roles mapping) |
databases Required | list(string) | Databases on which this user has permissions |
db_roles Required | list(string) | Database roles granted to the user |
db_user RequiredForceNew | string | SQL user name |
instance Default | string | Logical SQL instance name |
is_disabled Computed | string | Whether the SQL Server login is disabled (true/false) |
password_location Computed | string | The Vault UI URL where the user password is stored. |
server_roles Computed | string | Server-level role memberships (e.g. sysadmin, setupadmin) |
sid Computed | string | SQL Server login security identifier (SID) |
resource "gi_dbaas_mssql_database_user" "example" { attributes = { databases = ["value-1", "value-2"] db_roles = ["value-1", "value-2"] db_user = "example-db_user" }}