This plugin provisions databases on AWS RDS using shuttle. The following three engines are supported: - Postgres - MySql - MariaDB
Add shuttle-aws-rds
to the dependencies for your service. Every engine is behind the following feature flags and attribute paths:
| Engine | Feature flag | Attribute path | |----------|--------------|---------------------------| | Postgres | postgres | shuttleawsrds::Postgres | | MySql | mysql | shuttleawsrds::MySql | | MariaDB | mariadb | shuttleawsrds::MariaDB |
An example using the Tide framework can be found on GitHub
Each engine can take in the following options:
| Option | Type | Description |
|-----------|------|--------------------------------------------------------------------------------------------------------------|
| local_uri | &str | Don't spin up a local docker instance of the DB, but rather connect to this URI instead for cargo shuttle run
|