Global InfraGlobal Infra Cloud
DbaaS MSSQL

Database

Terraform reference for Database.

Schema Properties

PropertyTypeDescription
availability_mode
Computed
stringAvailability mode/role for the replica hosting database
cluster_name
Computed
stringCluster name
connections
Computed
numberConnections Nb per database.
db_roles
list(string)Optional database roles to grant to user
db_user
stringOptional database user to create & map to new database
db_user_id
Computed
stringThe console asset ID of the database_user created alongside this database.
endpoint
Computed
stringEndpoint hosting database
instance
Default
stringSQL Server instance name
name
RequiredForceNew
stringThe name of the database.
password_location
Computed
stringThe Vault UI URL where the default user password is stored.
product_version
Computed
stringSQL Server product version for the hosting instance
server
Computed
stringSQL Server hostname
size_gb
Computed
numberDatabase Size in GB.
resource "gi_dbaas_mssql_database" "example" {  attributes = {    name = "example-name"  }}

Usage Notes