https://github.com/floydspace/terraform-message-batcher-demo
https://github.com/floydspace/terraform-message-batcher-demo
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/floydspace/terraform-message-batcher-demo
- Owner: floydspace
- Created: 2021-07-07T15:07:23.000Z (about 5 years ago)
- Default Branch: step7
- Last Pushed: 2021-07-07T22:15:23.000Z (about 5 years ago)
- Last Synced: 2025-06-08T15:29:08.818Z (about 1 year ago)
- Language: HCL
- Size: 192 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# terraform-message-batcher-demo
*SQS Message Batcher Demo App* is built on top of AWS DynamoDB as a buffer messages storage which collects messages and in 10s delay handles messages in batch.
The stack also contains AWS AppSync Api for visual demo UI
### How to deploy
1. You have to have `terraform` installed
2. Configure state:
- If you wish to use remote state: Create manually an S3 Bucket for state and AWS DynamoDB for lock and put their names in `versions.tf` (DyanmoDB table must have `LockID` string primary key)
- If you keep state local: Remove `backend` from `versions.tf`
3. Run `terraform init` to initialize providers and modules
4. Run `make deploy` to deploy the stack to AWS