Slack commands integration with regular operations tasks is what your team needs. This codebase have a Skeleton for Master and Slave Lambda integration using SNS service. You'll get some ready to use slack commands for Web industry.
- Python 3.6+
pip install chalice- AWS acceess credentials in
~/.aws/config - Generate slack_API_token and AWS SNS Topic
- Add above slack token and SNS topic in
.chalice/config.jsonfile as environment variables.
git clone <this repository>cd slack-chatops-chalice- Add your own python functions in
app.pyand/chalicelib/workers.pyOr Make use of available web operation team's functions. chalice deploy- Create simple Slack commands and add API Gateway links created with
chalice deploycommand.
Command 1 : /domain-type-list google.com, www.fb.com, yogesh.com, menhealth.kz
Response :
Command 2 : /dns-check-list facebook.com, fb.com
Response :
Command 3 : /ssl-info-list google.com, www.facebook.com
Response :