File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed
accounts/legacy/releases-prod
modules/release-distribution Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 1- f0d18844756ee5a91c113057898b5e122311e2bf
1+ e1a55fdd4fd065e9bbba0ae7130d15c628b5b96f
Original file line number Diff line number Diff line change @@ -18,6 +18,9 @@ inputs = {
1818
1919 static_ttl = 86400 // 1 day
2020
21- static_cloudfront_weight = 5
22- static_fastly_weight = 95
21+ # minimum weight AWS allows.
22+ static_cloudfront_weight = 1
23+ # maximum weight AWS allows
24+ static_fastly_weight = 255
25+ # Percentage of traffic going through Fastly: 255/(255+1)*100 = 99.6%
2326}
Original file line number Diff line number Diff line change @@ -91,6 +91,11 @@ resource "aws_cloudfront_distribution" "static" {
9191 bucket = data. aws_s3_bucket . logs . bucket_regional_domain_name
9292 prefix = " cloudfront/${ var . static_domain_name } "
9393 }
94+
95+ tags = {
96+ project = " release-distribution"
97+ environment = var.environment
98+ }
9499}
95100
96101resource "aws_route53_record" "cloudfront_static_domain" {
You can’t perform that action at this time.
0 commit comments