Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 318 Bytes

README.md

File metadata and controls

20 lines (17 loc) · 318 Bytes

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"
}