1.2.1 • Published 4 years ago
jsreport-fs-store-aws-sns-sync v1.2.1
jsreport-fs-store-aws-sns-sync
Run jsreport fs store in cluster and synchronize using AWS SNS.
Installation
npm install jsreport-fs-store
npm install jsreport-fs-store-aws-sns-sync
Create an IAM user with permissions to SNS and SQS and copy the access key and secret access key. Then alter the jsreport configuration:
"store": {
"provider": "fs",
"sync": {
"name": "aws-sns",
// the rest is optional
"accessKeyId": "...",
"secretAccessKey": "..."
"topic": "jsreport",
"subscription": "<host id>",
"region": "us-east-1"
}
},
The topic and subscription is automatically created if not existing during the instance startup.