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
      ...

Package Sidebar

Install

npm i serverless-dynamodb-global-table-plugin

Weekly Downloads

41

Version

1.0.1

License

MIT

Unpacked Size

5.37 kB

Total Files

4

Last publish

Collaborators

  • jgilbert01