We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 656ce2f commit e4134f9Copy full SHA for e4134f9
modules/integrations/cloud-logs/main.tf
@@ -115,6 +115,7 @@ resource "aws_iam_role" "cloudlogs_s3_access" {
115
lifecycle {
116
precondition {
117
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."
119
}
120
121
0 commit comments