From a37afbc71eb123631bc5ccbd48f938627afeaa70 Mon Sep 17 00:00:00 2001 From: Paolo Polidori Date: Tue, 27 May 2025 17:19:11 +0200 Subject: [PATCH] fix(cloud-logs): syntax error being addressed --- modules/integrations/cloud-logs/main.tf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/integrations/cloud-logs/main.tf b/modules/integrations/cloud-logs/main.tf index 9907d20..3a29bcb 100644 --- a/modules/integrations/cloud-logs/main.tf +++ b/modules/integrations/cloud-logs/main.tf @@ -114,7 +114,9 @@ resource "aws_iam_role" "cloudlogs_s3_access" { lifecycle { precondition { - condition = var.role_arn == null || split(":", var.role_arn)[4] == local.bucket_account_id + condition = var.role_arn == null || split(":", var.role_arn)[4] == local.bucket_account_id + } + } } // AWS IAM Role Policy