Skip to content
This repository was archived by the owner on Jan 2, 2025. It is now read-only.

Latest commit

 

History

History
22 lines (18 loc) · 377 Bytes

File metadata and controls

22 lines (18 loc) · 377 Bytes

Terraform Microsoft SQL Server Provider

based on https://github.com/maxjoehnk/terraform-provider-mssql

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