Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kristofferlind/terraform-provider-azuresql
Terraform provider for managing Azure SQL/MSSQL users and permissions
https://github.com/kristofferlind/terraform-provider-azuresql
azure-sql azure-sql-management mssql-database mssql-server provider terraform terraform-provider
Last synced: 26 days ago
JSON representation
Terraform provider for managing Azure SQL/MSSQL users and permissions
- Host: GitHub
- URL: https://github.com/kristofferlind/terraform-provider-azuresql
- Owner: kristofferlind
- License: mpl-2.0
- Created: 2022-04-12T15:06:38.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-22T09:08:14.000Z (about 2 months ago)
- Last Synced: 2024-09-29T14:23:16.931Z (about 1 month ago)
- Topics: azure-sql, azure-sql-management, mssql-database, mssql-server, provider, terraform, terraform-provider
- Language: Go
- Homepage:
- Size: 136 KB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# terraform-provider-azuresql
Provider for managing MSSQL Server users and permissions. Documentation can be found in /docs or the registry.Using an unofficial terraform provider is pretty scary and it therefore needs to be really easy to review and fork. That leaves us with the following focus points:
- keep it as simple as possible
- keep dependencies to a minimum## Maturity
This provider currently only has acceptance tests against a local docker based mssql instance and has received a little bit of manual testing against Azure SQL Server and Azure AD. It's my first time creating a terraform provider and I'm still a bit of a Golang newbie. **Do not use this unless you can first test all your changes in an environment that is ok to break**.## Dependencies
Other than terraform boilerplate/plumbing this provider only utilizes an mssql driver, specifically github.com/microsoft/go-mssqldb, the official driver for MSSQL with Go from Microsoft.## Development
This plugin is based on Terraform Plugin Framework and the documentation for that should therefore be a good source of information (https://www.terraform.io/plugin/framework).If you have [direnv](https://direnv.net/) and [nix package manager](https://nixos.org/) installed. You should be able to just start using commands found in Makefile. If you don't want those you can look at shell.nix to see what's needed.
command | description
---|---
`make test` | build, install and execute testsCheck makefile for more options.
## Known issues
- Need to specify resources with implicit dependencies for them to be created and deleted in the correct order
- aad_user is untested (feature is currently public preview)## License
Based on [terraform-provider-scaffolding-framework](https://github.com/hashicorp/terraform-provider-scaffolding-framework) and copied its license at time of creation.