Skip to content
This plugin manages DynamoDB global tables.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.editorconfig
.eslintrc.json
.gitignore
.npmignore
LICESNSE
README.md
index.js
package.json

README.md

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
      ...
You can’t perform that action at this time.