Lambda Function to post AWS Codepipeline, CodeBuild and ECS Sevice notifications to slack.
- serverless 1.3x
- python 3.7
-
Create Slack incoming Webhook URL
-
Create env yaml from
./conf/env.yml.sample
-
Install serverless-python-requirements plugin
$ sls plugin install -n serverless-python-requirements --stage dummy
- Deploy to AWS
YOUR-STAGE-NAME
is needed to match env yaml file name you created before.
$ sls deploy -v --stage YOUR-STAGE-NAWE
-
Encrypt Slack incoming webhook URL set with lambda's environment variable
- Fork this
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request