Skip to content

drg-adaptive/db-migrate-pg-aurora

Repository files navigation

Welcome to db-migrate-pg-aurora 👋

stability npm Maintainability Build Status Dependency Status devDependency Status

AWS Postgres Aurora Serverless db-migrate Driver

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

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-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

yarn test

Author

👤 Elisha Boozer eboozer@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