MSSQL Terraform Provider

Terraform Microsoft SQL Server Provider

Usage

provider "mssql" {
  host = "localhost"
  username = "sa"
  password = "password"
}

resource "mssql_database" "db" {
  name = "MyDatabase"
  owner = "${mssql_role.user.name}"
}

resource "mssql_role" "user" {
  name = "MyUser"
  password = "MyPassword"
}
Loading...