npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

serverless-dynamodb-global-table-plugin

1.0.1 • Public • Published

serverless-dynamodb-global-table-plugin

This plugin manages DynamoDB global tables.

As a service is deployed to each successive region the specified tables are added to their global table. Global tables are created on deploying to the first region.

This plugin is designed to work in conjunction with the serverless-dynamodb-autoscaling-plugin plugin.

Install plugin:

npm install --save-dev serverless-dynamodb-global-table-plugin

serverless.yml:

plugins:
  - serverless-dynamodb-autoscaling-plugin
  - serverless-dynamodb-global-table-plugin

custom:
  autoscaling:
    - table: Table
      global: true # simply add the global flag
      read:
        ...
      write:
        ...

resources:
  Resources:
    Table:
      Type: AWS::DynamoDB::Table
      ...

install

npm i serverless-dynamodb-global-table-plugin

Downloadsweekly downloads

8

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability