It is based on errbot project
!repos install https://github.com/vivekgrover1/err-jenkins-plugins.git
!repos install https://github.com/vivekgrover1/err-aws-plugin.git
!repos install https://github.com/vivekgrover1/err-command-plugin.git
git clone https://github.com/vivekgrover1/slack_chatbot.git
You can add bot integration in your slack workspace by following Slack Bot Integration
With the bot account created on Slack, you may configure the account in errbot by setting up BOT_IDENTITY as follows in config.py:
BOT_IDENTITY = {
    'token': 'xoxb-4426949411-aEM7...',
}
Set the AWS Acess Key and AWS Secret key in docker-compose.yml as follows.
environment:
     - AWS_ACCESS_KEY=Axhkh..
     - AWS_SECRET_KEY=AWkhljjlj..
Mount the ec2_key from host to the container as follows.
volumes:
      - type: bind
        source: Enter the source path
        target: /root/errbot/ec2_key.pem
docker-compose up
docker-compose up -d for daemon mode