Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cloudfoundry/terraform-provider-csbmysql
Terraform provider to manage Cloud Service Broker bindings for MySQL
https://github.com/cloudfoundry/terraform-provider-csbmysql
cff-wg-service-management
Last synced: 3 months ago
JSON representation
Terraform provider to manage Cloud Service Broker bindings for MySQL
- Host: GitHub
- URL: https://github.com/cloudfoundry/terraform-provider-csbmysql
- Owner: cloudfoundry
- License: apache-2.0
- Created: 2022-10-06T14:10:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-15T18:02:51.000Z (3 months ago)
- Last Synced: 2024-10-16T22:19:50.812Z (3 months ago)
- Topics: cff-wg-service-management
- Language: Go
- Homepage:
- Size: 295 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# terraform-provider-csbmysql
This is a highly specialised Terraform provider designed to be used exclusively with the [Cloud Service Broker](https://github.com/cloudfoundry-incubator/cloud-service-broker) ("CSB") to create OSBAPI-compliant service bindings in MySQL. Initially CSB brokerpaks used the original Terraform provider for MySQL, however it is no longer maintained.
## Usage example
```terraform
terraform {
required_providers {
csbmysql = {
source = "cloudfoundry.org/cloud-service-broker/csbmysql"
version = "1.0.0"
}
}
}provider "csbmysql" {
host = "localhost"
port = 3306
username = "admin-user"
password = "fill-me-in"
database = "mysql"
}resource "csbmysql_binding_user" "binding_user" {
username = "foo"
password = "bar"
}
```## Releasing
To create a new GitHub release, decide on a new version number [according to Semanitc Versioning](https://semver.org/), and then:
1. Create a tag on the main branch with a leading `v`:
`git tag vX.Y.Z`
1. Push the tag:
`git push --tags`
1. Wait for the GitHub action to run GoReleaser and create the new GitHub release