Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/clstokes/pulumi-rds-mysql

A Pulumi application to create a MySQL RDS database instance and a MySQL user named my-user (by default).
https://github.com/clstokes/pulumi-rds-mysql

pulumi pulumi-aws pulumi-mysql

Last synced: 2 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# pulumi-rds-mysql

A [Pulumi](https://www.pulumi.com/) 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)
```