A co-worker created and setup a working Cloudtrail logger:
resource "aws_cloudtrail" "cloudtrail" {
name = "logger"
s3_bucket_name = "bucket-name"
include_global_service_events = true
enable_logging = true
is_multi_region_trail = true
enable_log_file_validation = true
}
Now i've created a bucket, and when I go to the AWS GUI I can see "logger" as an option for the bucket object level logging. However when I create the bucket with terraform for the life of me I cannot figure out how to "find" this cloudtrail, and then once I find it append this bucket to the logger.