slackbot

amancevice/slackbot/aws

Terraform Module HCL AWS

Serverless Extensible Slackbot

Install
module "slackbot" {
source = "amancevice/slackbot/aws"
version = "26.2.2"
}
plain text: /constructs/tfmod-amancevice-slackbot-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

Serverless Slackbot !arch ![terraform](https://registry.terraform.io/modules/amancevice/slackbot/aws) ![build](https://github.com/amancevice/terraform-aws-slackbot/actions/workflows/test-validate.yml) ![ko-fi](https://ko-fi.com/smallweirdnumber) A simple, serverless back end for your Slack app. > ⚠️ NOTE — v25 of this module is a complete architectural redesign and is not compatible with previous versions. Use Case The application intentionally does very little, leaving room for you to customize your app. Out of the box, it will: - Receive an event from Slack in the form of an HTTP request - Verify the request's signature headers - Publish the JSON-ified payload to EventBridge where it can be processed asynchronously - And, finally, send a response back to Slack (usually an empty 200) Addi

Inputs (19)
NameTypeDescriptionDefault
domain_zone_idstringSlack API Route53 hosted zone ID required
slack_client_idstringSlackbot OAuth client ID required
slack_client_secretstringSlackbot OAuth client secret SSM parameter name required
namestringSlack app name required
domain_certificate_arnstringSlack API custom domain ACM certificate ARN required
domain_namestringSlack API custom domain required
slack_tokenstringSlackbot OAuth token SSM parameter name required
slack_signing_secretstringSlackbot signing secret SSM parameter name required
slack_error_uristringSlackbot OAuth error URI""
slack_scopestringSlackbot OAuth scopes""
slack_success_uristringSlackbot OAuth success URI"slack://open"
log_retention_in_daysnumberSlackbot log retention in days14
api_base_pathstringSlack API base pathnull
slack_user_scopestringSlackbot OAuth user scopes""
oauth_timeout_secondsnumberTTL for OAuth state300
tagsmap(string)Slackbot tagsnull
api_log_formatmap(string)Slack API log format{ "caller": "$context.identity.caller"
lambda_snap_start_enabledboolLambda function SnapStart enabledfalse
lambda_runtimestringLambda function runtime"python3.13"
Outputs (7)
connection — EventBridge connection
functions — Lambda functions
logs — CloudWatch log groups
openapi — OpenAPI JSON definition
roles — IAM roles
state_machines — State Machines
apigateway — API Gateway resources
Resources (13)
aws_api_gateway_base_path_mappingaws_api_gateway_deploymentaws_api_gateway_domain_nameaws_api_gateway_rest_apiaws_api_gateway_stageaws_cloudwatch_event_busaws_cloudwatch_event_connectionaws_cloudwatch_log_groupaws_iam_roleaws_iam_role_policyaws_lambda_functionaws_route53_recordaws_sfn_state_machine
Details
FrameworkTerraform Module
LanguageHCL
Version26.2.2
Cloud AWS
★ Stars89
Forks25
Total downloads9.6k
Inputs19
Outputs7
Resources13
LicenseMIT
Namespaceamancevice
Updated