We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf5555d commit 8b7909eCopy full SHA for 8b7909e
cloudfront.tf
@@ -52,7 +52,7 @@ resource "aws_cloudfront_distribution" "self" {
52
}
53
54
55
- price_class = "PriceClass_200"
+ price_class = var.cloudfront_priceclass
56
57
viewer_certificate {
58
acm_certificate_arn = aws_acm_certificate.cloudfront.arn
input.tf
@@ -13,4 +13,9 @@ variable "secondary_domain_names" {
13
14
variable "request_function_path" {
15
type = string
16
+}
17
+
18
+variable "cloudfront_priceclass" {
19
+ type = string
20
+ default = "PriceClass_200"
21
0 commit comments