From d8aa2c68c792d809683d44e5e10ccf6223235073 Mon Sep 17 00:00:00 2001 From: Stu Pegg Date: Mon, 6 Jan 2025 14:26:02 +0000 Subject: [PATCH] [DPR2-1576] Linting --- .../digital-prison-reporting/modules/s3_bucket/main.tf | 2 ++ .../digital-prison-reporting/modules/s3_bucket/variables.tf | 1 + 2 files changed, 3 insertions(+) diff --git a/terraform/environments/digital-prison-reporting/modules/s3_bucket/main.tf b/terraform/environments/digital-prison-reporting/modules/s3_bucket/main.tf index 98ba6fac6b2..f49d93d5b1f 100644 --- a/terraform/environments/digital-prison-reporting/modules/s3_bucket/main.tf +++ b/terraform/environments/digital-prison-reporting/modules/s3_bucket/main.tf @@ -32,6 +32,8 @@ resource "aws_s3_bucket_public_access_block" "storage" { } resource "aws_s3_bucket_lifecycle_configuration" "lifecycle" { + #checkov:skip=CKV_AWS_300:TODO Will be addressed as part of https://dsdmoj.atlassian.net/browse/DPR2-1083 + # Create the lifecycle configuration if either lifecycle or Intelligent-Tiering is enabled count = var.enable_lifecycle || var.enable_intelligent_tiering ? 1 : 0 diff --git a/terraform/environments/digital-prison-reporting/modules/s3_bucket/variables.tf b/terraform/environments/digital-prison-reporting/modules/s3_bucket/variables.tf index 27e60fc0e23..1163851d784 100644 --- a/terraform/environments/digital-prison-reporting/modules/s3_bucket/variables.tf +++ b/terraform/environments/digital-prison-reporting/modules/s3_bucket/variables.tf @@ -25,6 +25,7 @@ variable "cloudtrail_access_policy" { variable "s3_notification_name" { description = "S3 Notification Event Name" + type = string default = "s3-notification-event" }