目录

terraform-provider-csbsqlserver

This is a highly specialised Terraform provider designed to be used exclusively with the Cloud Service Broker (“CSB”) to manage binding and unbinding operations in a SQL Server instance.

Usage

terraform {
   required_providers {
      csbsqlserver = {
         source  = "cloudfoundry.org/cloud-service-broker/csbsqlserver"
         version = "1.0.0"
      }
   }
}

provider "csbsqlserver" {
   server   = "localhost"
   port     = 1433
   username = "SA"
   password = "YOUR_ADMIN_PASSWORD_HERE"
   database = "mydb"
   encrypt  = "disable"
}

resource "csbsqlserver_binding" "binding" {
   username = "test_user"
   password = "test_password"
   roles    = ["db_ddladmin", "db_datareader", "db_datawriter", "db_accessadmin"]
}

Releasing

To create a new GitHub release, decide on a new version number according to Semantic Versioning, and then:

  1. Create a tag on the main branch with a leading v: git tag vX.Y.X
  2. Push the tag: git push --tags
  3. Wait for the GitHub action to run GoReleaser and create the new GitHub release
关于
550.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号