Skip to content

Commit 15012a0

Browse files
[PRMP-579] reverse cloudfront conditional to obtain plan against higher envs
1 parent 2a70c17 commit 15012a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infrastructure/cloudfront.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module "cloudfront-distribution-lg" {
1515
qualifed_arn = module.edge-presign-lambda.qualified_arn
1616
depends_on = [module.edge-presign-lambda.qualified_arn, module.ndr-lloyd-george-store.bucket_id, module.ndr-lloyd-george-store.bucket_domain_name, module.ndr-document-pending-review-store.bucket_id, module.ndr-document-pending-review-store.bucket_domain_name]
1717
web_acl_id = try(module.cloudfront_firewall_waf_v2[0].arn, "")
18-
has_secondary_bucket = local.is_production ? false : true
18+
has_secondary_bucket = local.is_production ? true : false
1919
secondary_bucket_domain_name = module.ndr-document-pending-review-store.bucket_regional_domain_name
2020
secondary_bucket_id = module.ndr-document-pending-review-store.bucket_id
2121
secondary_bucket_path_pattern = "/review/*"

0 commit comments

Comments
 (0)