/serverless-component-aws-rds

Serverless component for provisioning RDS databases

Primary LanguageJavaScriptApache License 2.0Apache-2.0

WIP

This is a work in progress.

  • Create PostgreSQL Database
  • Remove PostgreSQL Database
  • Set arbitrary parameters
  • Block deletion(!)

aws-rds

Easily provision AWS RDS Databases using Serverless Components.

 

  1. Install
  2. Create
  3. Configure
  4. Deploy

 

1. Install

$ npm install -g serverless

2. Create

Just create a serverless.yml file

$ touch serverless.yml
$ touch .env      # your AWS api keys
# .env
AWS_ACCESS_KEY_ID=XXX
AWS_SECRET_ACCESS_KEY=XXX

3. Configure

# serverless.yml

myTable:
  component: 'serverless-aws-rds'
  inputs:
    name: pg-test-table
    engine: postgres

4. Deploy

$ serverless

 

To see the master password, debug must be enabled.

New to Components?

Checkout the Serverless Components repo for more information.