Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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).
- Host: GitHub
- URL: https://github.com/clstokes/pulumi-rds-mysql
- Owner: clstokes
- License: apache-2.0
- Created: 2020-01-21T04:43:29.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-21T05:00:21.000Z (almost 5 years ago)
- Last Synced: 2024-11-08T13:55:35.435Z (about 2 months ago)
- Topics: pulumi, pulumi-aws, pulumi-mysql
- Language: TypeScript
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)
```