terraform-aws-slackbot

Serverless Extensible Slackbot

MIT License

Stars
85
terraform-aws-slackbot - v25.1.0 Latest Release

Published by amancevice 4 months ago

terraform-aws-slackbot - v25.0.5

Published by amancevice 7 months ago

terraform-aws-slackbot - v25.0.4

Published by amancevice 11 months ago

Bugfix to event OpenAPI integration and state machine

terraform-aws-slackbot - v25.0.2

Published by amancevice 11 months ago

Upgrade Lambda runtime to python3.12

terraform-aws-slackbot - v25.0.1

Published by amancevice 11 months ago

Bugfixes to API Gateway domain name (should be REGIONAL, not EDGE)

terraform-aws-slackbot - v25.0.0

Published by amancevice 11 months ago

Re-architect project to use native API Gateway -> Step Functions integration for better latency

terraform-aws-slackbot - v24.3.0

Published by amancevice about 1 year ago

Python ~> 3.11

terraform-aws-slackbot - v24.2.0

Published by amancevice over 1 year ago

bump aws provider to ~> 5.0

terraform-aws-slackbot - v24.1.0

Published by amancevice over 1 year ago

Update to python3.10 runtime

terraform-aws-slackbot - 24.0.1

Published by amancevice over 1 year ago

Pipenv upgrade

terraform-aws-slackbot - 24.0.0

Published by amancevice almost 2 years ago

v24 of this module represents a re-thinking of this module. Previous versions attempted to be as un-opinionated as possible, while this version is more of a "batteries included" approach.

Prerequisites

In order to use this module you must set up a Route53 hosted zone and an ACM certificate that covers the domain on which your Slack API will be hosted (eg, *.example.com or slack.example.com)

Resources

This module will create the following resources:

  • API Gateway HTTP API (+ supporting resources
  • EventBridge event bus
  • SecretsManager secret container
  • Lambda functions
  • CloudWatch log groups

Post-requisites

After applying this module you must update the SecretsManager secret with the JSON for your Slackbot (see README)

terraform-aws-slackbot - 23.2.1

Published by amancevice over 2 years ago

Upgrade to Python 3.9
Add option to format JSON logs

terraform-aws-slackbot - 23.0.1

Published by amancevice about 3 years ago

Support for terraform v1.0
Fix to OAuth route

terraform-aws-slackbot - 23.1.0

Published by amancevice about 3 years ago

Upgrade runtime to python3.9
Requires aws provider ~> 3.55

terraform-aws-slackbot - 22.2.0

Published by amancevice over 3 years ago

The included function to make requests against the Slack API from EventBridge events was modified to be more generic
If the event contains a task-token key, this value is used to issue success/failure notifications for Step Functions

terraform-aws-slackbot - 22.0.2

Published by amancevice over 3 years ago

terraform-aws-slackbot - 22.0.0

Published by amancevice over 3 years ago

This release marks a complete overhaul of the application—rewritten from the ground up!

Runtime

The NodeJS runtime of the application was dropped in favor Python. This was done for two reasons: first and foremost, the cold start time of Lambda functions using the Python runtime appears to be shorter than its peers. Since Slack imposes a strict time limit on many of their features, shaving milliseconds is paramount. Second, I am much more comfortable coding in Python than I am NodeJS, so I hope this change means more stability and maintainability going forward.

Events

Events are now published to EventBridge instead of SNS. This was done because the strength EventBridge's pattern matching capabilities means that some of the application logic intended to extract SNS message attributes could be removed.

Additionally, I was able to roll the essential features of the slackbot-chat into this main module so that users are able to publish events to EventBridge and have them be forwarded to Slack's Web API.

terraform-aws-slackbot - 21.1.0

Published by amancevice over 3 years ago

slackbot ~> 4.9.0
improvements to logging

terraform-aws-slackbot - 20.0.0

Published by amancevice almost 4 years ago

Terraform 0.14 compatibility

terraform-aws-slackbot - 19.5.0

Published by amancevice about 4 years ago