Skip to content

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

License

Notifications You must be signed in to change notification settings

clstokes/pulumi-rds-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

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

Topics

Resources

License

Stars

Watchers

Forks