0.0.7 • Published 4 years ago

serverless-plugin-dynamodb-backup-ondeploy v0.0.7

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

serverless-plugin-dynamodb-backup-ondeploy

Backup dynamodb tables on serverless deploy.

Introduction

  • This plugin works on serverless deploy command
  • This plugin fetches list of all DynamoDB tables which are defined as resource in serverless.yml
  • Then it will create backup for tables

Installation

# Yarn
yarn add serverless-plugin-dynamodb-backup-ondeploy --dev
# NPM:
npm install serverless-plugin-dynamodb-backup-ondeploy --save-dev

Usage

Add to serverless-plugin-dynamodb-backup-ondeploy to list of plugins in serverless.yml file.

# serverless.yml
plugins:
  - serverless-plugin-dynamodb-backup-ondeploy

TODO

  • Detect new tables and ignore backups
  • Detect delete tables and make backups before deleting

License

MIT