Skip to content

This project is an AWS Lambda function that retrieves personal asset data from the Binance API and sends it to a Telegram bot

Notifications You must be signed in to change notification settings

AntonAks/AWS-Lambda-Sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Binance Asset Notifier with AWS Lambda & Terraform

This project is an AWS Lambda function that retrieves personal asset data from the Binance API and sends it to a Telegram bot every 5 minutes. The deployment is managed using Terraform.

🛠️ Setup & Deployment

1. Prepare layer (requests)

pip install requests -t ./python
zip -r requests_layer.zip ./python

2. Create environment variables

Create .env file with 4 variables

API_KEY= `binance api key`
API_SECRET= `binance api secret`
BOT_TOKEN= `telegram bot api key`
CHATS_LIST= `(comma separated ids)`

3. Initialize & Apply Terraform

terraform init
terraform validate
terraform apply

4. Destroy Terraform

terraform destroy

About

This project is an AWS Lambda function that retrieves personal asset data from the Binance API and sends it to a Telegram bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published