Serverless Create Global DynamoDB Table

Serverless plugin to create dynamodb global tables




serverless Build Status npm version Coverage Status

A serverless plugin to automatically creates dynamodb global table(s).

By default, the plugin will deploy the whole service stack in the specified region(s) and then setup global table relation between the dynamodb tables.


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

Add the plugin to your serverless.yml file:

  - serverless-create-global-dynamodb-table


    regions: # list of regions in which you want to set up global tables
      - region-1
      - region-2
    createStack: false # optional flag, when set to false will not deploy the stack in new region(s) and will create the tables using AWS SDK.

NOTE: When creating global tables with createStack: false, any update the source table config is not replicated to global tables.


  • 2.0.0

    • Updated the package to deploy the service stack in the new region(s) by default
    • Added support to setup auto-scaling on global tables when not using create stack feature.
    • Added unit-tests
  • 2.1.0

    • Added support for PAY_PER_REQUEST billing mode for createStack: true mode
view on Github

Latest commit b2f54ec on Sep 24, 2017

New to serverless?

To get started, pop open your terminal & run:

npm install serverless -g