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.
This package is available in many languages in the standard packaging formats.
To use from JavaScript or TypeScript in Node.js, install using either npm
:
$ npm install @pulumi/mysql
or yarn
:
$ yarn add @pulumi/mysql
To use from Python, install using pip
:
$ pip install pulumi_mysql
To use from Go, use go get
to grab the latest version of the library
$ go get github.com/pulumi/pulumi-mysql/sdk/v3
To use from .NET, install using dotnet add package
:
$ dotnet add package Pulumi.Mysql
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 viaMYSQL_ENDPOINT
environment variable.mysql:username
(required) - Username to use to authenticate with the server. Can be set viaMYSQL_USERNAME
environment variable.mysql:password
- (optional) Password for the given user, if that user has a password. Can be set viaMYSQL_PASSWORD
environment variable.mysql:tls
- (optional) The TLS configuration. One of false, true, or skip-verify. Defaults tofalse
. Can be set viaMYSQL_TLS_CONFIG
environment variable.mysql:proxy
- (Optional) Proxy socks url, can also be sourced fromALL_PROXY
orall_proxy
environment variables.
For further information, please visit the MySQL provider docs or for detailed reference documentation, please visit the API docs.