Skip to content

Commit aa22804

Browse files
author
olamide
committed
Store SNS topic arn in SSM
1 parent bd3b520 commit aa22804

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws/waf/main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,5 +222,5 @@ resource "aws_ssm_parameter" "aws_waf_sns_log" {
222222
name = "/waflogs/sns/${var.name}"
223223
description = "Name of the SNS for the AWS WAF logs - ${var.name}"
224224
type = "SecureString"
225-
value = "${aws_wafv2_web_acl.main.id}-waf-logs-topic"
225+
value = aws_sns_topic.waf_logs_sns_subscription.arn
226226
}

0 commit comments

Comments
 (0)