Difference between revisions of "Terraform module: notify-slack"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
} | } | ||
+ | |||
+ | module "notify_slack" { | ||
+ | source = "terraform-aws-modules/notify-slack/aws" | ||
+ | version = "~> 5.0" | ||
+ | |||
+ | [[sns_topic_name]] = "slack-topic" | ||
+ | |||
+ | [[slack_webhook_url]] = "https://hooks.slack.com/services/AAA/BBB/CCC" | ||
+ | [[slack_channel]] = "aws-notification" | ||
+ | [[slack_username]] = "reporter" | ||
+ | } | ||
{{tf modules}} | {{tf modules}} |
Revision as of 14:41, 8 February 2023
- https://registry.terraform.io/modules/terraform-aws-modules/notify-slack/aws/latest
- GitHub: https://github.com/terraform-aws-modules/terraform-aws-notify-slack
module "notify-slack_example_notify-slack-simple" { source = "terraform-aws-modules/notify-slack/aws//examples/notify-slack-simple" version = "5.6.0" }
module "notify_slack" { source = "terraform-aws-modules/notify-slack/aws" version = "~> 5.0"
sns_topic_name = "slack-topic"
slack_webhook_url = "https://hooks.slack.com/services/AAA/BBB/CCC" slack_channel = "aws-notification" slack_username = "reporter" }
Terraform modules, terraform get
, module { source }
, AWS modules, module.
, child modules, Terraform modules inputs, submodules, terraform init -upgrade
Advertising: