Skip to content

Commit e4134f9

Browse files
authored
fix(cloud-logs): syntax error being addressed (#74)
1 parent 656ce2f commit e4134f9

File tree

1 file changed

+1
-0
lines changed
  • modules/integrations/cloud-logs

1 file changed

+1
-0
lines changed

modules/integrations/cloud-logs/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ resource "aws_iam_role" "cloudlogs_s3_access" {
115115
lifecycle {
116116
precondition {
117117
condition = var.role_arn == null || split(":", var.role_arn)[4] == local.bucket_account_id
118+
error_message = "Role and Bucket must be in the same account. Check that the Role ARN is in the Bucket account ID."
118119
}
119120
}
120121
}

0 commit comments

Comments
 (0)