Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 1.58 KB

README.md

File metadata and controls

18 lines (14 loc) · 1.58 KB

awswhatsnew

Pipeline workflow

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.

Details

  • 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) and sam deploy
  • Uses GitHub Actions workflow CI/CD pipeline for deploying to dev and prod, generated using SAM Pipelines