From 406aa580e2cf8268284770381c1dc57f0315e02c Mon Sep 17 00:00:00 2001 From: shivawandb <167111773+shivawandb@users.noreply.github.com> Date: Wed, 29 Jan 2025 15:40:08 -0800 Subject: [PATCH] feat: Cloudtrail logging for s3 events (#331) --- modules/cloudtrail/outputs.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/cloudtrail/outputs.tf b/modules/cloudtrail/outputs.tf index 7568969b2..a02e0ce65 100644 --- a/modules/cloudtrail/outputs.tf +++ b/modules/cloudtrail/outputs.tf @@ -19,6 +19,6 @@ output "cloudtrail_arn" { } output "force_destroy_warning" { - value = "WARNING: The S3 bucket is configured to be forcefully destroyed." - condition = var.force_destroy + description = "Warning message if force_destroy is enabled" + value = var.force_destroy ? "WARNING: The S3 bucket is configured to be forcefully destroyed." : null }