From 1d40a7960f247d2e479255c46adac396ef72b8d9 Mon Sep 17 00:00:00 2001 From: jjcallis Date: Thu, 18 Aug 2022 14:49:27 +0100 Subject: [PATCH] Update module_s3_bucket_cloudfront_logging.tf --- module_s3_bucket_cloudfront_logging.tf | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/module_s3_bucket_cloudfront_logging.tf b/module_s3_bucket_cloudfront_logging.tf index ebfe4da..b152838 100644 --- a/module_s3_bucket_cloudfront_logging.tf +++ b/module_s3_bucket_cloudfront_logging.tf @@ -12,7 +12,16 @@ module "bucket_cloudwatch_logs_backup" { ignore_public_acls = true versioning = { - enabled = false - mfa_delete = false + status = "Enabled" + mfa_delete = "Disabled" } + + cors_rule = { + allowed_headers = ["Authorization"] + allowed_methods = ["GET"] + allowed_origins = ["*"] + expose_headers = [] + max_age_seconds = 3000 + } + } \ No newline at end of file