From d67859a22c0e0f9233f98bfaeee1df4d20400567 Mon Sep 17 00:00:00 2001 From: Valentin Khramtsov Date: Mon, 30 Dec 2024 15:24:50 +0300 Subject: [PATCH] Validate for aws cis benchmark alerts --- terraform/modules/aws-cis-benchmark-alerts/main.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/terraform/modules/aws-cis-benchmark-alerts/main.tf b/terraform/modules/aws-cis-benchmark-alerts/main.tf index bd35dd5..ce8169e 100644 --- a/terraform/modules/aws-cis-benchmark-alerts/main.tf +++ b/terraform/modules/aws-cis-benchmark-alerts/main.tf @@ -1,3 +1,5 @@ +data "aws_caller_identity" "current" {} + module "eventbridge" { count = var.aws_cis_benchmark_alerts.enabled ? 1 : 0 source = "terraform-aws-modules/eventbridge/aws"