terraform-aws-chatbot
Terraform AWS sample module to provision AWS Chatbot integration with Slack.
Requires both aws (AWS) and awscc (AWS Cloud Control) providers.
- Authorize Slack to your AWS account in the Console by following Step 1: Configure a Slack client.
- See examples/main.tf.
Name | Version |
---|---|
aws | ~> 5.53.0 |
awscc | ~> 1.2.0 |
Name | Version |
---|---|
aws | ~> 5.53.0 |
aws.us-east-1 | ~> 5.53.0 |
awscc | ~> 1.2.0 |
No modules.
Name | Description | Type | Default | Required |
---|---|---|---|---|
slack_channel_configuration_name | AWS Chatbot Slack channel configuration name. | string |
n/a | yes |
slack_channel_id | Slack channel ID. | string |
n/a | yes |
slack_workspace_id | Slack workspace ID - https://slack.com/help/articles/221769328-Locate-your-Slack-URL-or-ID | string |
n/a | yes |
logging_level | AWS Chatbot integration CloudWatch Logs log level. | string |
"INFO" |
no |
Name | Description |
---|---|
awscc_chatbot_slack_channel_configuration_arn | AWS Chatbot Slack channel configuration ARN |
chatbot_channel_iam_role_arn | AWS Chatbot channel IAM role ARN |
chatbot_sns_topic_arn_primary_region | AWS Chatbot SNS topic ARN in primary region. |
chatbot_sns_topic_arn_us_east_1 | AWS Chatbot SNS topic ARN in us-east-1. |
Note: The inputs and outputs sections are automatically generated by terraform-docs in a git pre-commit hook. This requires setup of pre-commit-terraform . Follow the install instructions to use, including the dependencies setup. pre-commit ensures correct formatting, linting and generation of documentation. It also check's for trailing whitespace, merge conflics and mixed line endings. See .pre-commit-config.yaml for more information. A full guide to the pre-commit framework can be found here.
See contributors.
MIT licensed. See LICENSE. Feel free to fork and make use of what you want.