All Projects → betr-io → terraform-provider-mssql

betr-io / terraform-provider-mssql

Licence: MIT license
Terraform provider for Microsoft SQL Server

Programming Languages

go
31211 projects - #10 most used programming language
HCL
1544 projects
shell
77523 projects
Makefile
30231 projects

Projects that are alternatives of or similar to terraform-provider-mssql

terraform-provider-spacelift
Terraform provider to interact with Spacelift
Stars: ✭ 26 (+44.44%)
Mutual labels:  terraform-provider
terraform-provider-algolia
Terraform Provider for Algolia
Stars: ✭ 27 (+50%)
Mutual labels:  terraform-provider
terraform-provider-carvel
Carvel Terraform provider with resources for ytt and kapp to template and deploy to Kubernetes
Stars: ✭ 40 (+122.22%)
Mutual labels:  terraform-provider
terraform-provider-dnsimple
Terraform DNSimple provider
Stars: ✭ 15 (-16.67%)
Mutual labels:  terraform-provider
terraform-provider-ddcloud
Terraform provider for Dimension Data cloud compute.
Stars: ✭ 17 (-5.56%)
Mutual labels:  terraform-provider
terraform-provider-sonarqube
Terraform provider for managing Sonarqube configuration
Stars: ✭ 26 (+44.44%)
Mutual labels:  terraform-provider
terraform-provider-twilio
Terraform provider for Twilio. 🌎☎️ Preserved for archaeological fun. Please see the official Twilio TF provider @ https://github.com/twilio/terraform-provider-twilio.
Stars: ✭ 32 (+77.78%)
Mutual labels:  terraform-provider
terraform-provider-sumologic
This project is done. It has been integrated into https://github.com/SumoLogic/sumologic-terraform-provider
Stars: ✭ 13 (-27.78%)
Mutual labels:  terraform-provider
terraform-provider-ansiblevault
Read ansible vault from Terraform
Stars: ✭ 70 (+288.89%)
Mutual labels:  terraform-provider
terraform-provider-ad
Automates the Active Directory resource creation during Infrastructure build using Terraform Provider.
Stars: ✭ 64 (+255.56%)
Mutual labels:  terraform-provider
terraform-provider-jumpcloud
A Terraform provider for JumpCloud
Stars: ✭ 17 (-5.56%)
Mutual labels:  terraform-provider
terraform-provider-ncloud
Terraform NaverCloud provider
Stars: ✭ 25 (+38.89%)
Mutual labels:  terraform-provider
terraform-provider-aci
Terraform Cisco ACI provider
Stars: ✭ 68 (+277.78%)
Mutual labels:  terraform-provider
terraform-provider-astra
A project that allows DataStax Astra users to manage their full database lifecycle for Astra Serverless databases (built on Apache Cassandra(TM)) using Terraform
Stars: ✭ 16 (-11.11%)
Mutual labels:  terraform-provider
datadog-to-terraform
Converts Datadog resource JSON into Terraform alarm code.
Stars: ✭ 191 (+961.11%)
Mutual labels:  terraform-provider
terraform-provider-nix
terraform provider that manages nix builds and nixos machines.
Stars: ✭ 105 (+483.33%)
Mutual labels:  terraform-provider
terraform-provider-proxmox
terraform provider for proxmox
Stars: ✭ 28 (+55.56%)
Mutual labels:  terraform-provider
terraform-provider-vagrant
A Vagrant provider for terraform.
Stars: ✭ 43 (+138.89%)
Mutual labels:  terraform-provider
TerraformPluginDotNet
Write Terraform providers in C#.
Stars: ✭ 17 (-5.56%)
Mutual labels:  terraform-provider
terraform-provider-nsx
A Terraform provider for VMware NSX.
Stars: ✭ 20 (+11.11%)
Mutual labels:  terraform-provider

Terraform Provider mssql

⚠️ NOTE: Because the provider as it stands covers all of our current use cases, we will not be dedicating much time and effort to supporting it. We will, however, gladly accept pull requests. We will try to review and release those in a timely manner. Pull requests with included tests and documentation will be prioritized.

Requirements

  • Terraform 0.13.x
  • Go 1.18 (to build the provider plugin)

Usage

terraform {
  required_version = "~> 0.13"
  required_providers {
    mssql = {
      versions = "~> 0.2.2"
      source = "betr.io/betr/mssql"
    }
  }
}

provider "mssql" {}

Building the provider

Clone the repository

git clone [email protected]:betr-io/terraform-provider-mssql

Enter the provider directory and build the provider

cd terraform-provider-mssql
make build

To build and install the provider locally

make install

Developing the provider

If you wish to work on the provider, you'll first need Go installed on your machine (version 1.18+).

To compile the provider, run make build. This will build the provider.

To run the unit test, you can simply run make test.

To run acceptance tests against a local SQL Server running in Docker, you must have Docker installed. You can then run the following commands

make docker-start
TESTARGS=-count=1 make testacc-local
make docker-stop

This will spin up a SQL server running in a container on your local machine, run the tests that can run against a SQL Server, and destroy the container.

In order to run the full suite of acceptance tests, run make testacc. Again, to spin up a local SQL Server container in docker, and corresponding resources in Azure, modify test-fixtures/all/terraform.tfvars to match your environment and run

make azure-create
TESTARGS=-count=1 make testacc
make azure-destroy

NOTE: This will create resources in Azure and will incur costs.

Release provider

To create a release, do:

  • Update VERSION in Makefile (only used for installing the provider when developing).
  • Push a new valid version tag (e.g. v1.2.3) to GitHub.
  • See also Publishing Providers.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].