Skip to content
This repository has been archived by the owner. It is now read-only.

SC5/serverless-dynamodb-pitr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo is archived since the functionality is now supported by CloudFormation.

Serverless DynamoDB Point-in-time Recovery

A Serverless Plugin for the Serverless Framework to enable/disable PITR (Point-in-time recovery) for one or more DynamoDB tables on deploy.

Introduction

This plugin uses DynamoDB API to update the PointInTimeRecoverySpecification of the specified tables right after deployment, allowing to enable or disable point-in-time recovery of the tables.

Installation and configuration

In your service root, run:

npm install --save-dev serverless-dynamodb-pitr

Add the plugin to serverless.yml:

plugins:
  - serverless-dynamodb-pitr

Usage

You can add items under the custom.pitr in serverless.yml. Required attributes are tableName and enabled:

custom:
  pitr:
    - tableName: someDynamoDBTableName
      enabled: true
    - tableName: someOtherTableName
      enabled: false

TODO

  • Add tests

Release History

  • 2018/05/02 - v0.1.0 - Initial version

License

Copyright (c) 2018 Nordcloud, licensed for users and contributors under MIT license. https://github.com/SC5/serverless-dynamodb-pitr/blob/master/LICENSE

About

Serverless plugin to enable PITR (Point-in-time recovery) for a DynamoDB table on deploy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published