Requirements
- Terraform >=1.0.0
- MS SQL Server >=2017 or Azure SQL
- Go 1.18 (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
$ go 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:
$ TF_ACC=1 go test -v ./...
To run only unit tests (excluding tests depending on Docker container):
$ go test -v ./...
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