Serverless app to check the daily substitute teachers announcements of Government of the Canary Islands. When a new announcement is published, a notification is sent to Telegram.
A scheduled event executed at regular intervals triggers a Lambda function that checks if there is a new announcement. When a new announcement is published, the URL is stored in a DynamoDB table that triggers a second lambda which publish in a SNS Topic. Finally a Lambda subscribed to the topic notifies to a Telegram channel.
- CloudWatch Events: cron scheduled triggers
- DynamoDB: store the state
- SNS: fan-out notifications
- Parameter Store: Telegram auth token
- Lambdas:
This is just a pet project to play with Go, Terraform and Serverless architecture. This solution can be replaced by a simple bash script executed by a cron job running on a server 24/7, however the biggest attractive of this solution it is an almost zero cost solution thanks to the AWS Free Tier.
Name | Telegram |
---|---|
Maestros de S/C Tenerife | https://t.me/nombramientos_maestros_tfe |
Maestros de Las Palmas | https://t.me/nombramientos_maestros_lp |
Profesores de ambas | https://t.me/nombramientos_profesores |