You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| <aname="input_acm_certificate_arn_to_use"></a> [acm\_certificate\_arn\_to\_use](#input\_acm\_certificate\_arn\_to\_use)| ACM Certificate ARN to use in case you disable automatic certificate creation. Certificate must be in us-east-1 region. |`string`|`""`| no |
80
80
| <aname="input_aws_accounts_with_read_view_log_bucket"></a> [aws\_accounts\_with\_read\_view\_log\_bucket](#input\_aws\_accounts\_with\_read\_view\_log\_bucket)| List of AWS accounts with read permissions to log bucket |`list(string)`|`[]`| no |
81
+
| <aname="input_cloudfront_additional_origins"></a> [cloudfront\_additional\_origins](#input\_cloudfront\_additional\_origins\_)| (Optional) List of [origin configurations](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudfront_distribution#origin-arguments) in addiiton to the bucket that hosts the static web site. No support yet for origin shield. |`list(object)`|`[]`| no |
81
82
| <aname="input_cloudfront_allowed_cached_methods"></a> [cloudfront\_allowed\_cached\_methods](#input\_cloudfront\_allowed\_cached\_methods)| (Optional) Specifies which methods are allowed and cached by CloudFront. Can be GET, PUT, POST, DELETE or HEAD. Defaults to GET and HEAD |`list(string)`| <pre>[<br> "GET",<br> "HEAD"<br>]</pre> | no |
82
83
| <aname="input_cloudfront_custom_error_responses"></a> [cloudfront\_custom\_error\_responses](#input\_cloudfront\_custom\_error\_responses)| A list of custom error responses | <pre>list(object({<br> error_caching_min_ttl = number<br> error_code = number<br> response_code = number<br> response_page_path = string<br> }))</pre> |`[]`| no |
83
84
| <aname="input_cloudfront_default_root_object"></a> [cloudfront\_default\_root\_object](#input\_cloudfront\_default\_root\_object)| (Optional) - The object that you want CloudFront to return (for example, index.html) when an end user requests the root URL. Defaults to index.html |`string`|`"index.html"`| no |
@@ -86,6 +87,7 @@ In order to run all checks at any point run the following command:
86
87
| <aname="input_cloudfront_geo_restriction_locations"></a> [cloudfront\_geo\_restriction\_locations](#input\_cloudfront\_geo\_restriction\_locations)| (Optional) - The ISO 3166-1-alpha-2 codes for which you want CloudFront either to distribute your content (whitelist) or not distribute your content (blacklist). Defaults to []|`list(string)`|`[]`| no |
87
88
| <aname="input_cloudfront_geo_restriction_type"></a> [cloudfront\_geo\_restriction\_type](#input\_cloudfront\_geo\_restriction\_type)| The method that you want to use to restrict distribution of your content by country: none, whitelist, or blacklist. Defaults to none |`string`|`"none"`| no |
88
89
| <aname="input_cloudfront_http_version"></a> [cloudfront\_http\_version](#input\_cloudfront\_http\_version)| (Optional) - The maximum HTTP version to support on the distribution. Allowed values are http1.1 and http2. The default is http2. |`string`|`"http2"`| no |
90
+
| <aname="input_cloudfront_ordered_cache_behaviors"></a> [cloudfront\_ordered\_cache\_behaviors](#input\_cloudfront\_ordered\_cache\_behaviors)| (Optional) - List of [ordered cache behavior](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudfront_distribution#cache-behavior-arguments) configurations. No support yet for function associations or trusted key groups. |`list(object)`|`[]`| no |
89
91
| <aname="input_cloudfront_price_class"></a> [cloudfront\_price\_class](#input\_cloudfront\_price\_class)| (Optional) - The price class for this distribution. One of PriceClass\_All, PriceClass\_200, PriceClass\_100. Defaults to PriceClass\_100 |`string`|`"PriceClass_100"`| no |
90
92
| <aname="input_cloudfront_viewer_protocol_policy"></a> [cloudfront\_viewer\_protocol\_policy](#input\_cloudfront\_viewer\_protocol\_policy)| Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. One of allow-all, https-only, or redirect-to-https. Defautls to redirect-to-https |`string`|`"redirect-to-https"`| no |
91
93
| <aname="input_cloudfront_web_acl_id"></a> [cloudfront\_web\_acl\_id](#input\_cloudfront\_web\_acl\_id)| (Optional) A unique identifier that specifies the AWS WAF web ACL, if any, to associate with this distribution. |`string`|`null`| no |
# TODO - Add variable to support ordered_cache_behavior
192
-
# ordered_cache_behavior (Optional) - An ordered list of cache behaviors resource for this distribution. List from top to bottom in order of precedence. The topmost cache behavior will have precedence 0.
0 commit comments