We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99d23c9 commit ccfdb9cCopy full SHA for ccfdb9c
aws/waf/main.tf
@@ -217,3 +217,10 @@ module "cloudwatch_log_extract" {
217
resource "aws_sns_topic" "waf_logs_sns_subscription" {
218
name = "${aws_wafv2_web_acl.main.id}-waf-logs-topic"
219
}
220
+
221
+resource "aws_ssm_parameter" "aws_waf_acl" {
222
+ name = "/aws-waf/sns/${var.name}"
223
+ description = "Name of the SNS for the AWS WAF logs - ${var.name}"
224
+ type = "SecureString"
225
+ value = "${aws_wafv2_web_acl.main.id}-waf-logs-topic"
226
+}
0 commit comments