/pulumi-rds-mysql

A Pulumi application to create a MySQL RDS database instance and a MySQL user named my-user (by default).

Primary LanguageTypeScriptApache License 2.0Apache-2.0

pulumi-rds-mysql

A Pulumi application to create a MySQL RDS database instance and a MySQL user named my-user (by default).

Usage

To create the database and MySQL user:

pulumi stack init
pulumi config set aws:region us-west-2
pulumi up

To customize the name of the MySQL user:

pulumi config set dbUsername clstokes

To test connectivity:

docker run -it --rm mysql mysql -h$(pulumi stack output dbAddress) -u$(pulumi stack output dbUsername) -p$(pulumi stack output dbPassword)