Skip to content

PGSSoft/terraform-provider-mssql

Repository files navigation

Terraform provider for MS SQL Server

Requirements

  • Terraform >=1.0.0
  • MS SQL Server >=2017 or Azure SQL
  • Go 1.19 (to build the provider)

Building the provider

Clone repository to: $GOPATH/src/github.com/PGSSoft/terraform-provider-mssql

$ cd $GOPATH/src/github.com/PGSSoft/terraform-provider-mssql
$ make install

Acceptance tests

Acceptance tests run MS SQL Server docker container automatically. Make sure you have Docker installed and configured before running the tests (i.e. make sure you're able to run docker run <image>).

To run all tests, including acceptance tests, using Docker MSSQL image:

$ make dockerAccTest

To run all tests, including acceptance tests, using Azure SQL:

$ az login
$ make azureAccTest

To run only unit tests (excluding tests depending on Docker container or Azure SQL):

$ make test

About

The project maintained by software development agency PGS Software. See our other open-source projects or contact us to develop your product.

Follow us

Twitter URL Twitter Follow