Publish AWS News, filtered for the Africa (Cape Town) region, to Slack (and Twitter) by reading the official RSS feed with AWS Lambda.
It posts to AWS Community Africa using Slack App AWSWhatsNew
.
- to create a Slack app, follow the four steps listed under Add a Bot User
- Get your Bot User OAuth Token from the Slack APP API under OAuth and Permissions, then add it to SSM Parameter Store
- reads Slack credentials from AWS SSM.
- sets Slack icon emoji - needs chat:write.customize OAuth Scope
- python dependencies listed in
requirements.txt
- Infrastructure defined in CloudFormation in
template.yml
- Local testing via Docker and SAM Local
- Packaging and Deployment done via SAM CLI, using
sam build --use-container
(due to this bug) andsam deploy
- Uses GitHub Actions workflow CI/CD pipeline for deploying to dev and prod, generated using SAM Pipelines