https://github.com/nbelzer/serverless-telegram
Tryout of lambda functions with Serverless and Telegram.
https://github.com/nbelzer/serverless-telegram
lambda serverless telegram-bot
Last synced: 2 months ago
JSON representation
Tryout of lambda functions with Serverless and Telegram.
- Host: GitHub
- URL: https://github.com/nbelzer/serverless-telegram
- Owner: nbelzer
- Created: 2020-02-26T20:23:45.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-21T22:33:24.000Z (about 3 years ago)
- Last Synced: 2025-03-23T09:15:40.903Z (about 1 year ago)
- Topics: lambda, serverless, telegram-bot
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Serverless Tryout
This is a try-out project using the [serverless](https://serverless.com) framework to create a serverless python application on AWS.
## Deploy
You need to [install serverless](https://serverless.com/framework/docs/getting-started/) locally.
Before you can deploy the code to AWS you need to set up your AWS profile locally so that it can be used by serverless. See [this](https://serverless.com/framework/docs/providers/aws/guide/credentials/) for more information.
In the `serverless.yml` file you can change the parameters according to the profile you set and the region you would like to deploy your serverless function.
You should set up the `serverless.env.yml` file to contain the following:
```yaml
TELEGRAM_TOKEN:
SENTRY_DSN: https://
```
Once set up you can deploy the function to AWS by running:
```bash
serverless deploy
```
## Acknowledgements
- [serverless/examples](https://github.com/serverless/examples/tree/master/aws-python-telegram-bot) for the telegram bot example.