0.0.5 • Published 4 years ago

serverless-s3-two-way-replication-plugin v0.0.5

Weekly downloads
-
License
-
Repository
github
Last release
4 years ago

Serverless S3 two way replication plugin

This is a serverless plugin to easily setup two way replications between AWS S3 buckets.

The plugin will wait until all buckets from the configuration exist. If they all succeed, the plugin will modify the configured S3 buckets and add replication to them. Also, the required IAM roles will automatically be created for you.

Install

npm install --save-dev serverless-s3-two-way-replication-plugin

Usage

  1. Configure the plugin in your serverless.yml
plugins:
- serverless-s3-two-way-replication-plugin
  1. Add the configuration for the plugin
custom:
  s3TwoWayReplicationPlugin:
    twoWayReplication:
      - mainBucket:
          us-east-1: my-bucket-us-east-1
        replicationBucket:
          us-west-2: my-bucket-us-west-2
      - mainBucket:
          us-central-1: my-bucket-us-central-1
        replicationBucket:
          us-west-1: my-bucket-us-west-1
0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago