Skip to content

primait/pulumi-mysql

 
 

Actions Status NPM version PkgGoDev Static Badge License

MySQL Resource Provider

The MySQL resource provider for Pulumi lets you manage MySQL resources in your cloud programs. To use this package, please install the Pulumi CLI first.

Installing

This package is available in many languages in the standard packaging formats.

Node.js (JavaScript/TypeScript)

To use from JavaScript or TypeScript in Node.js, install using either npm:

$ npm install @unobravo/pulumi-mysql

or yarn:

$ yarn add @unobravo/pulumi-mysql

Python

To use from Python, install using pip:

$ pip install git+https://github.com/unobravo/pulumi-mysql.git@v0.0.0#subdirectory=sdk/python

Note

NOT PUBLISHED ON PyPI

Go

To use from Go, use go get to grab the latest version of the library

$ go get github.com/unobravo/pulumi-mysql/sdk

.NET

Warning

NOT PUBLISHED

Configuration

The following configuration points are available:

  • mysql:endpoint (required) - The address of the MySQL server to use. Most often a "hostname:port" pair, but may also be an absolute path to a Unix socket when the host OS is Unix-compatible. Can be set via MYSQL_ENDPOINT environment variable.
  • mysql:username (required) - Username to use to authenticate with the server. Can be set via MYSQL_USERNAME environment variable.
  • mysql:password - (optional) Password for the given user, if that user has a password. Can be set via MYSQL_PASSWORD environment variable.
  • mysql:tls - (optional) The TLS configuration. One of false, true, or skip-verify. Defaults to false. Can be set via MYSQL_TLS_CONFIG environment variable.
  • mysql:proxy - (Optional) Proxy socks url, can also be sourced from ALL_PROXY or all_proxy environment variables.

Reasons

This provider bridges petoju/terraform-provider-mysql to Pulumi

Currently the official pulumi-mysql uses the hashicorp/terraform-provider-mysql which has been archived in 2021. Based on this issue, Pulumi is still investigating the migration from an archived terraform provider to a community fork.

Reference

For further information on the resources supported by the Terraform provider, please visit the documentation.

About

A MySQL Pulumi resource package

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 48.1%
  • C# 25.9%
  • TypeScript 21.6%
  • Go 2.6%
  • Makefile 1.3%
  • Dockerfile 0.5%