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 }