Crates.io | shuttle-aws-rds |
lib.rs | shuttle-aws-rds |
version | 0.48.0 |
source | src |
created_at | 2022-10-13 12:12:13.349504 |
updated_at | 2024-10-01 14:36:08.739452 |
description | Plugin to provision AWS RDS resources |
homepage | |
repository | https://github.com/shuttle-hq/shuttle |
max_upload_size | |
id | 687116 |
size | 12,676 |
This plugin provisions databases on AWS RDS using shuttle. The following three engines are supported:
Add shuttle-aws-rds
to the dependencies for your service.
Every engine is behind the following feature flags and attribute paths.
The default is to use native TLS.
You can also add -rustls
after the feature flag, for example postgres-rustls
.
Engine | Feature flag | Attribute path |
---|---|---|
Postgres | postgres | shuttle_aws_rds::Postgres |
MySql | mysql | shuttle_aws_rds::MySql |
MariaDB | mariadb | shuttle_aws_rds::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 |