aws-samples/amazon-guardduty-for-aws-organizations-with-terraform

Fails on creating GD bucket

Closed this issue · 1 comments

bmb5 commented

I'm getting the following error when Terraform tries to do this:
module.gd_findings_bucket_and_key.aws_s3_bucket.gd_bucket: Creating...

│ Error: Error putting S3 logging: InvalidTargetBucketForLogging: The owner for the bucket to be logged and the target bucket must be the same.

configuration.json parameter:
"s3_access_log_bucket_name" : "blah-guardduty-logs-354773654783",

bmb5 commented

ACL for log delivery had to be enabled.