Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amancevice/terraform-aws-slackbot-secrets
AWS-managed Slack secrets
https://github.com/amancevice/terraform-aws-slackbot-secrets
aws slack terraform
Last synced: about 2 months ago
JSON representation
AWS-managed Slack secrets
- Host: GitHub
- URL: https://github.com/amancevice/terraform-aws-slackbot-secrets
- Owner: amancevice
- License: mit
- Created: 2018-12-20T19:51:57.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2022-03-03T14:07:49.000Z (almost 3 years ago)
- Last Synced: 2024-10-10T04:07:55.225Z (2 months ago)
- Topics: aws, slack, terraform
- Language: HCL
- Size: 27.3 KB
- Stars: 0
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Slackbot Secrets
[![terraform](https://img.shields.io/github/v/tag/amancevice/terraform-aws-slackbot-secrets?color=62f&label=version&logo=terraform&style=flat-square)](https://registry.terraform.io/modules/amancevice/serverless-pypi/aws)
[![build](https://img.shields.io/github/workflow/status/amancevice/terraform-aws-slackbot-secrets/validate?logo=github&style=flat-square)](https://github.com/amancevice/terraform-aws-slackbot-secrets/actions)Add-on for [amancevice/slackbot/aws](https://github.com/amancevice/terraform-aws-slackbot) terraform module to add required SecreteManager secret to support the slackbot module.
_NOTE—deployed instances of this module will contain sensitive information in their state files._
_You should NEVER store your secrets in plaintext or deploy with a remote state that is unencrypted!_## Usage
```terraform
module "slackbot" {
source = "amancevice/slackbot/aws"
version = "~> 23.2"
# …
}module "slackbot_secret" {
source = "amancevice/slackbot-secrets/aws"
version = "~> 7.0"# Required…
secret = module.slackbot.secret# Provided by Slack
slack_client_id = ""
slack_client_secret = ""
slack_signing_secret = ""
slack_token = ""# Optional
kms_key_deletion_window_in_days = 30
kms_key_enable_key_rotation = false
kms_key_is_enabled = true
kms_key_description = "My KMS Key"
kms_key_policy_document = "{ … }"
kms_key_usage = "ENCRYPT_DECRYPT"
secret_description = "My Secret"
secret_recovery_window_in_days = 30slack_oauth_error_uri = "http://example.com/"
slack_oauth_redirect_uri = "http://example.com/"
slack_oauth_success_uri = "slack://open"
slack_signing_version = "v0"kms_key_tags = {
# …
}secret_tags = {
# …
}secrets = {
# Additional secrets to store…
}
}
```