drg-adaptive / db-migrate-aurora

A driver for db-migrate to connect to Aurora Serverless through the Data API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Welcome to db-migrate-aurora πŸ‘‹

stability npm Maintainability Build Status Dependency Status devDependency Status

A db-migrate driver for aurora serverless.

AWS Aurora Serverless db-migrate Driver

A db-migrate driver for aurora serverless.

🏠 Homepage

Install

yarn install

Usage

See db-migrate for more information.

Configuration Example

Add the following configuration to your database.json file:

{
  "prod": {
    "driver": {
      "require": "db-migrate-aurora"
    },
    "database": "name of database on server...", // OPTIONAL
    "schema": "name of schema in database...", // OPTIONAL
    "secretArn": "ARN of a secret store containing credentials for the cluster",
    "resourceArn": "ARN of the cluster to connect to",
    "region": "us-east-1", // The AWS region of the cluster
    "maxRetries": 3, // OPTIONAL: number of times to retry connecting
    "connectTimeout": 45000 // OPTIONAL: number of milliseconds to wait until timing out the connection
  }
}

Run tests

yarn test

Author

πŸ‘€ Ben Force bforce@teamdrg.com

🀝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

πŸ“ License

Copyright Β© 2019 DRG Adaptive.

This project is MIT licensed.

FOSSA Status


This README was generated with ❀️ by readme-md-generator

About

A driver for db-migrate to connect to Aurora Serverless through the Data API

License:MIT License


Languages

Language:TypeScript 95.3%Language:JavaScript 4.7%