Skip to content

Commit 3e15dfd

Browse files
committed
CCM-9873: temporarily remove access log logging
1 parent 3a14348 commit 3e15dfd

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

infrastructure/terraform/components/app/cloudfront_distribution_download.tf

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,10 @@ resource "aws_cloudfront_distribution" "main" {
2424
ssl_support_method = "sni-only"
2525
}
2626

27-
# Disable logging for now wile we prove out deploying via a pipeline.
28-
# logging_config {
29-
# bucket = module.s3bucket_cf_logs.bucket_regional_domain_name
30-
# include_cookies = false
31-
# }
27+
logging_config {
28+
bucket = module.s3bucket_cf_logs.bucket_regional_domain_name
29+
include_cookies = false
30+
}
3231

3332
origin {
3433
domain_name = module.backend_api.download_bucket_regional_domain_name

infrastructure/terraform/components/app/module_s3bucket_cf_logs.tf

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,10 @@ module "s3bucket_cf_logs" {
6565
data.aws_iam_policy_document.s3bucket_cf_logs.json
6666
]
6767

68-
bucket_logging_target = {
69-
bucket = local.s3_buckets["access_logs"]["id"]
70-
}
68+
# Ignore access logs while we prove out deploying
69+
# bucket_logging_target = {
70+
# bucket = local.s3_buckets["access_logs"]["id"]
71+
# }
7172

7273
public_access = {
7374
block_public_acls = true

0 commit comments

Comments
 (0)