db-migrate-pg-aurora
Version:
A db-migrate driver for postgres aurora serverless.
79 lines (52 loc) ⢠2.59 kB
Markdown
# Welcome to db-migrate-pg-aurora š

[](https://www.npmjs.com/package/db-migrate-pg-aurora)
[](https://codeclimate.com/github/drg-adaptive/db-migrate-pg-aurora/maintainability)
[](https://travis-ci.org/drg-adaptive/db-migrate-pg-aurora)
[](https://david-dm.org/drg-adaptive/db-migrate-pg-aurora)
[](https://david-dm.org/drg-adaptive/db-migrate-pg-aurora#info=devDependencies)
# AWS Postgres Aurora Serverless db-migrate Driver
> A driver for db-migrate to connect to PostgreSQL Aurora Serverless through the Data API
### š [Homepage](https://github.com/drg-adaptive/db-migrate-pg-aurora)
## Install
```sh
yarn install
```
## Usage
See [db-migrate](https://db-migrate.readthedocs.io/en/latest/) for more information.
### Configuration Example
Add the following configuration to your `database.json` file:
```json
{
"prod": {
"driver": {
"require": "db-migrate-pg-aurora"
},
"database": "<Database Name>",
"schema": "<Schema Name>",
"secretArn": "<Secrets Manager ARN that contains credentials for the cluster> ",
"resourceArn": "<Database Cluster ARN to connect to>",
"region": "<AWS Region to connect to>",
"maxRetries": 3,
"connectTimeout": 45000
}
}
```
## Run tests
```sh
yarn test
```
## Author
š¤ **Elisha Boozer <eboozer@teamdrg.com>**
* Github: [@drg-adaptive](https://github.com/drg-adaptive)
## š¤ Contributing
Contributions, issues and feature requests are welcome!
Feel free to check [issues page](https://github.com/drg-adaptive/db-migrate-pg-aurora/issues).
## Show your support
Give a āļø if this project helped you!
## š License
Copyright Ā© 2019 [DRG Adaptive](https://drgadaptive.com/).
This project is [MIT](https://github.com/drg-adaptive/db-migrate-pg-aurora/blob/master/LICENSE) licensed.
[](https://app.fossa.io/projects/git%2Bgithub.com%2Fdrg-adaptive%2Fdb-migrate-pg-aurora?ref=badge_large)
***
_This README was generated with ā¤ļø by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_