{"_id":"serverless-create-global-dynamodb-table-tags","_rev":"3-2eb25a12241ac38fa594181e9941365f","name":"serverless-create-global-dynamodb-table-tags","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"serverless-create-global-dynamodb-table-tags","version":"1.0.0","description":"serverless plugin that would create global dynamodb tables for specified tables","main":"src/index.js","scripts":{"coverage":"nyc --reporter=html npm run test-unit","lint":"eslint .","test-unit":"mocha test/unittest"},"repository":{"type":"git","url":"git+https://github.com/rrahul963/serverless-create-global-dynamodb-table.git"},"keywords":["serverless","global","table","dynamodb"],"author":{"name":"rahul.tulsian87@gmail.com"},"license":"Apache 2.0","bugs":{"url":"https://github.com/rrahul963/serverless-create-global-dynamodb-table/issues"},"homepage":"https://github.com/rrahul963/serverless-create-global-dynamodb-table#readme","devDependencies":{"coveralls":"^3.0.6","eslint":"^4.19.1","husky":"^3.0.5","mocha":"^5.1.0","nyc":"^14.1.1","should":"^13.2.3","sinon":"^7.4.2"},"dependencies":{"aws-sdk":"^2.804.0","chalk":"^2.3.2","lodash.get":"^4.4.2"},"husky":{"hooks":{"pre-commit":"npm run lint","pre-push":"npm run test-unit"}},"gitHead":"b4da3cd38ebb55865c5ac2ba595942a96c139aff","_id":"serverless-create-global-dynamodb-table-tags@1.0.0","_nodeVersion":"14.18.0","_npmVersion":"6.14.15","dist":{"integrity":"sha512-3y2CgUC01JbMIeUb5JLstqHQjWwnqlGRgsq3JuWi22ipVpAUqMM0X79HXoNABjEjd4V1DV+aOvGYHTRnFTdvUg==","shasum":"2c29493cd763bd981871d2f47455c3a6a633e6b8","tarball":"https://registry.npmjs.org/serverless-create-global-dynamodb-table-tags/-/serverless-create-global-dynamodb-table-tags-1.0.0.tgz","fileCount":5,"unpackedSize":36284,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhsd5ECRA9TVsSAnZWagAAd0wP+wRJALbK4HJsicubnOI5\naERajZN1s0YohDXGcQKj/jgh0jUYAgGKs1DA1d2DTGZ3pSB3bDP40W1p52sr\nRltd+RaWDCtf25tAKrMGSaUEF5SDrFUdHvwqFcqagh/PgV1sZaSeTva/HxSD\nu9hV24fnL99PlRaixWgHNDewdphKTN475iVTLnQuCMpfh4kaIUpHSMWBMMpN\njDCv7dVqoFM1YCJoxhLM5KS4AhMbXeZJpmmdyM09AiN+EM0mM7wkxR5/RtUN\nnOvG5PTnHfRafU19265vYckpisdesjwqEfeph6e9x5ifvmp0c3sG7xXPtmHS\nWbUEvjNBMNNWu7AXTqQ3y50AEYYLG5+RUodtPr1RlBlM2KLHRzEU54HX1rY9\nXR41mteOfUUJw8FW+i9Jjd1aq/PwUUwjOIjD7n+LhL06bJpYEUk4UNltdOoL\nrh+xahNK3ZudFWS2V0znk5jWaZsCVWwwE8lHvGlbru6DvXN5OPK12zQpLzeX\nn8oT9IEe00F6z2YFIjaMeu3Xnp6PRxeeoOe8IWV4PryMThm4GNz6TBECRhjQ\n/dtFD7ad7DB2tD4iRrXhS4enZp4ihzlBnobiJNHAM6QjXe66DaEtHd9gfegX\nFmBw8VTfQWe5O3m31HsVVUTM4pbgBlpIwbh0I9egrP0eb15axXkd/Ayruj+J\nlnph\r\n=jecT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG3GjeTaE8p+Co3/ZNsRTl9iejKmSvVNZI6ZYfMquJL1AiBX/bDjZ3dGWR/mKSEmJJs/47hhATcCCaxXS/r3cljW9w=="}]},"_npmUser":{"name":"zhaoyi0113","email":"zhaoyi0113@gmail.com"},"directories":{},"maintainers":[{"name":"zhaoyi0113","email":"zhaoyi0113@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/serverless-create-global-dynamodb-table-tags_1.0.0_1639046724441_0.47408192663830273"},"_hasShrinkwrap":false},"1.0.1":{"name":"serverless-create-global-dynamodb-table-tags","version":"1.0.1","description":"serverless plugin that would create global dynamodb tables for specified tables","main":"src/index.js","scripts":{"coverage":"nyc --reporter=html npm run test-unit","lint":"eslint .","test-unit":"mocha test/unittest"},"repository":{"type":"git","url":"git+https://github.com/rrahul963/serverless-create-global-dynamodb-table.git"},"keywords":["serverless","global","table","dynamodb"],"author":{"name":"rahul.tulsian87@gmail.com"},"license":"Apache 2.0","bugs":{"url":"https://github.com/rrahul963/serverless-create-global-dynamodb-table/issues"},"homepage":"https://github.com/rrahul963/serverless-create-global-dynamodb-table#readme","devDependencies":{"coveralls":"^3.0.6","eslint":"^4.19.1","husky":"^3.0.5","mocha":"^5.1.0","nyc":"^14.1.1","should":"^13.2.3","sinon":"^7.4.2"},"dependencies":{"aws-sdk":"^2.804.0","chalk":"^2.3.2","lodash.get":"^4.4.2"},"husky":{"hooks":{"pre-commit":"npm run lint","pre-push":"npm run test-unit"}},"gitHead":"366c423633bdb363ee1498a9ee2050caf8bac365","_id":"serverless-create-global-dynamodb-table-tags@1.0.1","_nodeVersion":"14.18.0","_npmVersion":"6.14.15","dist":{"integrity":"sha512-AG47KDndBGalF6IoUevCUqzn1cSPz39BcX7igk6/nORtxpMfwP4PAjMpUxmic7otjRZPXDGWl7yNKO1o3IUDMg==","shasum":"32067d4a050e1441bc76381f59c5eade194702ca","tarball":"https://registry.npmjs.org/serverless-create-global-dynamodb-table-tags/-/serverless-create-global-dynamodb-table-tags-1.0.1.tgz","fileCount":5,"unpackedSize":36315,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhu7AWCRA9TVsSAnZWagAAjS8P/i2VuigdmGpUkJot4QFm\nmhEkrAknq8RUa37HH6AVJLEEY8BIWKIzL0jL4tp75U8WiPVGXl5Shy5IO7R1\nhvvX3/Ekbg1HfqpnwfIYi8pH3gSOoiBfhrkm0u0mfqpjNQjK/oFO3GBUM+G+\nDpOkioyw+ov/uLZCCaF9c4sXFESaR+CA3GIfUGBpXgggukklsZ9EZZqi0wKg\nDZOrAXuq82QjdfRDw9JdJYX+o4dep3kpI/eCVv8Il2/3UTR+yrpDdChgMkdZ\ntchLdcls8kdOePp7/x8s87QLHesHIWsThtE0zft9s3JmlFy1V3uviNQ1wBrm\nImrjd2D6fBAceaX/IzI7zXvZ0aEdwgkUobBP01VMjd+7EHkviMAkUmqzvGpn\nQpUMU7DGWESIHzPfFwhCFrkG7mWxkIVbIRY6wJtqfOOGpz0Ny2j6M3KsSerQ\nfPmeA5UPhGh01n9ZgD8H4x0fvzoCzS+YGEvrqlAKWygdpeP4kEl3f67cTbw/\n/YzLl99NJwtKY3Jwr8ZKZ+wIVuBoEgo4r8Obv0lJDd6UEVDOf9auvV5Vr+HI\nErzGLO4uYonoGCowpDwq8gV5XWuXDY6Bjm4wU8qAXpHsFfbkBaC3NRcMtSs4\nXSso2T5ay08gy0S5z91FDxdeydFnSeq6mJbyJqI3aEnHfrlv3p5DSeWeC9fV\nmPkC\r\n=hTqE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD7pHzoAVVCcH6dZemoIjbzoJj1W7UJMTYpOYuPrtr4vgIhAOHy3J1nutUw4meeok3nnPMqoM4zWdhhqlf1Aq+zkBeJ"}]},"_npmUser":{"name":"zhaoyi0113","email":"zhaoyi0113@gmail.com"},"directories":{},"maintainers":[{"name":"zhaoyi0113","email":"zhaoyi0113@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/serverless-create-global-dynamodb-table-tags_1.0.1_1639690262726_0.940697662368154"},"_hasShrinkwrap":false},"1.0.2":{"name":"serverless-create-global-dynamodb-table-tags","version":"1.0.2","description":"serverless plugin that would create global dynamodb tables for specified tables","main":"src/index.js","scripts":{"coverage":"nyc --reporter=html npm run test-unit","lint":"eslint .","test-unit":"mocha test/unittest"},"repository":{"type":"git","url":"git+https://github.com/rrahul963/serverless-create-global-dynamodb-table.git"},"keywords":["serverless","global","table","dynamodb"],"author":{"name":"rahul.tulsian87@gmail.com"},"license":"Apache 2.0","bugs":{"url":"https://github.com/rrahul963/serverless-create-global-dynamodb-table/issues"},"homepage":"https://github.com/rrahul963/serverless-create-global-dynamodb-table#readme","devDependencies":{"coveralls":"^3.0.6","eslint":"^4.19.1","husky":"^3.0.5","mocha":"^5.1.0","nyc":"^14.1.1","should":"^13.2.3","sinon":"^7.4.2"},"dependencies":{"aws-sdk":"^2.804.0","chalk":"^2.3.2","lodash.get":"^4.4.2"},"husky":{"hooks":{"pre-commit":"npm run lint","pre-push":"npm run test-unit"}},"gitHead":"9b55ceb8f1855543277719a246738b1cdcf503c4","_id":"serverless-create-global-dynamodb-table-tags@1.0.2","_nodeVersion":"14.18.0","_npmVersion":"6.14.15","dist":{"integrity":"sha512-+RKFEBz1g9g/BmAvR8+Mds9t3dprxM327INvZip4VUNoYUDgCsywPYYjestE/z3Nx4QvucmMrqdCdJi7u9wdHA==","shasum":"e4b509ae50d519599b869681f3df785aec7051ee","tarball":"https://registry.npmjs.org/serverless-create-global-dynamodb-table-tags/-/serverless-create-global-dynamodb-table-tags-1.0.2.tgz","fileCount":5,"unpackedSize":36325,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhu79dCRA9TVsSAnZWagAADNIP/1ByXzsHeP0DdqQJ/piA\nTDe5/f9ccmx67vP9SAz88PTIwXWMOMWlxLX/OhTFwjvYFePNuRk2+lr6YsBk\nNHwVynlgdPUHlkRQkKN4ZyzNmpV0DRyA5RtQwYSphbI6J3wFOaH7/SQ+EL07\nL5l0r0xJUvTmZeWjXBTARt/tPcp8ExZqp8b/0SJ88zfTLHd+eTevaPe2OluU\nTK3daWGDP+dINtkeN5HT0x4T2Vbh4k52xqBUP6utdE5JdkJrWzkRbLbLYMxi\nupT0lcecHKzVND+W6UjAwg3VNoxTp/4pYJh047tP5ylHlj4VG39LdPx5Xl0t\nT5Ulu62zHoT3yEtsI6cnDBuA+h1GRS8f1iNfPjgNfpR6PFtOdvI0+NhlyTPn\n0YHAvdGgEP6Sa5TIj4TUFGICjVeba6I8S1S3Xynqmh4tL3pxw3hXC16eLdHO\nRt8QhlRuduUZJb8qHaKBcNuiJts8fNukXFWeNGROSqQmdDBSD7ypvp6pOXjj\nCDpef8krZE7ZQupZ8V2dxeEuWklvspbJ4Zaj1c6IqUMkC40muMTwV1sm8i3e\ns5z9Zd7T0DLh5UN/3/D1CzqTSYqXKhuVHTJMHMDawdPhhgJUvyaQY1mLmcia\ngpj1EBj5U2R5AJmAKRLYzbgdJuxiQpeO/ey58q/eL7IMMj69Ow09R6wIeeLy\nlZoK\r\n=iMfW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHeD4opA286hUuGFTfMq3wNWJ6K/+U5z8J3j8cI4m5sdAiBs9sB6Kr0d6cw6UlWzfUS4U/7xk2BRJCvs2kFvA1BzSQ=="}]},"_npmUser":{"name":"zhaoyi0113","email":"zhaoyi0113@gmail.com"},"directories":{},"maintainers":[{"name":"zhaoyi0113","email":"zhaoyi0113@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/serverless-create-global-dynamodb-table-tags_1.0.2_1639694173670_0.49504060690861484"},"_hasShrinkwrap":false}},"time":{"created":"2021-12-09T10:45:24.440Z","1.0.0":"2021-12-09T10:45:24.608Z","modified":"2022-05-17T12:52:29.507Z","1.0.1":"2021-12-16T21:31:02.912Z","1.0.2":"2021-12-16T22:36:13.791Z"},"maintainers":[{"name":"zhaoyi0113","email":"zhaoyi0113@gmail.com"}],"description":"serverless plugin that would create global dynamodb tables for specified tables","homepage":"https://github.com/rrahul963/serverless-create-global-dynamodb-table#readme","keywords":["serverless","global","table","dynamodb"],"repository":{"type":"git","url":"git+https://github.com/rrahul963/serverless-create-global-dynamodb-table.git"},"author":{"name":"rahul.tulsian87@gmail.com"},"bugs":{"url":"https://github.com/rrahul963/serverless-create-global-dynamodb-table/issues"},"license":"Apache 2.0","readme":"# serverless-create-global-dynamodb-table\n[![serverless](http://public.serverless.com/badges/v3.svg)](http://www.serverless.com) [![Build Status](https://travis-ci.org/rrahul963/serverless-create-global-dynamodb-table.svg?branch=master)](https://travis-ci.org/rrahul963/serverless-create-global-dynamodb-table.svg?branch=master) [![npm version](https://badge.fury.io/js/serverless-create-global-dynamodb-table.svg)](https://badge.fury.io/js/serverless-create-global-dynamodb-table) [![Coverage Status](https://coveralls.io/repos/github/rrahul963/serverless-create-global-dynamodb-table/badge.svg?branch=master)](https://coveralls.io/github/rrahul963/serverless-create-global-dynamodb-table?branch=master)\n\nA [serverless](http://www.serverless.com) plugin to _automatically_ creates [dynamodb global table(s)](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GlobalTables.html).\n\nBy default, the plugin will deploy the whole service stack in the specified region(s) and then setup global table relation between the dynamodb tables.\n\n## Install\n\n`npm install --save-dev serverless-create-global-dynamodb-table`\n\nAdd the plugin to your `serverless.yml` file:\n\n```yaml\nplugins:\n  - serverless-create-global-dynamodb-table\n```\n\n## Configuration\n\n```yaml\ncustom:\n  globalTables:\n    version: v1 # optional, default is 'v1' (2017.11.29), please use 'v2' for (2019.11.21) version creation\n    regions: # list of regions in which you want to set up global tables\n      - region-1\n      - region-2\n    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.\n                       # if you use 'createStack: true' with 'version: v2', please add 'Condition' rule to your dynamodb to create it in the main region only,\n                       # other regions are going to be replicated automatically from the main region.\n```\n\n_NOTE_:\n1. When creating global tables with `createStack: false`, any update the source table config is not replicated to global tables.   \n2. `version` field is backward compatible and not required (the field can be absent).   \nIf you want to use Global Table (Version 2019.11.21), please use `version: v2`.   \nAlso, we don't recommend using `v2` over `v1` in your existing project. The plugin doesn't support updating from `v1` to `v2`.   \nMore details about Global Tables you can find in the following link: [AWS DynamoDB Global Tables](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GlobalTables.html)\n3. Here is an example of using conditions, by default it's optional, but it's required for `createStack: true` with `version: v2` setup:\n```\nConditions:\n  RegionUSEast1: !Equals [ !Ref \"AWS::Region\", us-east-1 ]\n\nMyDynamoDBTable:\n    Condition: RegionUSEast1\n    Type: 'AWS::DynamoDB::Table'\n    DeletionPolicy: Retain\n    Properties:\n    ....\n```\n## Revisions\n* 2.0.0\n  - Updated the package to deploy the service stack in the new region(s) by default\n  - Added support to setup auto-scaling on global tables when not using create stack feature.\n  - Added unit-tests\n* 2.1.0\n  - Added support for PAY_PER_REQUEST billing mode for `createStack: true` mode\n* 3.1.0\n  - Added support to create a new version of Global Table (Version 2019.11.21)\n\n","readmeFilename":"README.md"}