https://github.com/abicky/s3-rollbar-integratoin-example
Example of Rollbar integration with S3
https://github.com/abicky/s3-rollbar-integratoin-example
Last synced: 5 months ago
JSON representation
Example of Rollbar integration with S3
- Host: GitHub
- URL: https://github.com/abicky/s3-rollbar-integratoin-example
- Owner: abicky
- Created: 2017-08-28T07:13:53.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-31T06:42:16.000Z (almost 9 years ago)
- Last Synced: 2025-05-14T00:38:46.038Z (about 1 year ago)
- Language: HCL
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example of Rollbar integration with S3
## 1. Create a S3 bucket and a lambda function
```
% cat < .envrc
export AWS_ACCESS_KEY_ID=XXXXXXXXXXXXXXXXXXXX
export AWS_SECRET_ACCESS_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
export TF_VAR_rollbar_access_token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
export TF_VAR_bucket=YOUR_BACKET_NAME
EOF
% direnv allow
% make
```
## 2. Upload a JSON file to your backet
```
% aws s3 cp /path/to/json s3://YOUR_BACKET_NAME/
```
You will receive an item in Rollbar!