From b90283422411122b02336d753e6933625abd0595 Mon Sep 17 00:00:00 2001 From: guyguyr23 <62642694+guyguyr23@users.noreply.github.com> Date: Mon, 2 Oct 2023 17:21:41 +0300 Subject: [PATCH] Update main.tf --- modules/s3/main.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/s3/main.tf b/modules/s3/main.tf index f57d3e70..b5b801e6 100644 --- a/modules/s3/main.tf +++ b/modules/s3/main.tf @@ -5,6 +5,8 @@ module "locals" { random_string = random_string.this.result } + + locals { sns_enable = var.integration_type == "s3-sns" || var.integration_type == "cloudtrail-sns" ? true : false }