Skip to content

data-platform-hq/terraform-azurerm-mssql-configuration

Repository files navigation

Requirements

Name Version
terraform >= 1.0.0
azurerm >= 4.0.1
mssql 0.3.0

Providers

Name Version
mssql 0.3.0

Modules

No modules.

Resources

Name Type
mssql_user.this resource

Inputs

Name Description Type Default Required
client_id The client ID of the principal used to login to the SQL Server. Can also be sourced from the MSSQL_CLIENT_ID environment variable. string n/a yes
client_secret The client secret of the principal used to login to the SQL Server. Can also be sourced from the MSSQL_CLIENT_SECRET environment variable. string n/a yes
database Target MSSQL Server fqdn string n/a yes
server_fqdn Target MSSQL Server fqdn string n/a yes
sql_users_configurations List of objects with sql users configuration
list(object({
username = string
object_id = string
roles = list(string)
}))
[] no
tenant_id The tenant ID of the principal used to login to the SQL Server. Can also be sourced from the MSSQL_TENANT_ID environment variable string n/a yes

Outputs

No outputs.