diff --git a/lambda-slack.tf b/lambda-slack.tf index a31c26d..1c91bd1 100644 --- a/lambda-slack.tf +++ b/lambda-slack.tf @@ -62,7 +62,7 @@ resource "aws_lambda_function" "default" { count = var.slack_endpoint == "" ? 0 : 1 filename = "${path.module}/slack.zip" - function_name = "slack-notification-healthcheck" + function_name = "slack-notification-healthcheck-${var.topic_name}" role = aws_iam_role.default[0].arn handler = "main"