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
Copy file name to clipboardExpand all lines: docs/terraform.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,7 @@
88
88
| <aname="input_cors_max_age_seconds"></a> [cors\_max\_age\_seconds](#input\_cors\_max\_age\_seconds)| Time in seconds that browser can cache the response for S3 bucket |`number`|`3600`| no |
89
89
| <aname="input_custom_error_response"></a> [custom\_error\_response](#input\_custom\_error\_response)| List of one or more custom error response element maps | <pre>list(object({<br> error_caching_min_ttl = string<br> error_code = string<br> response_code = string<br> response_page_path = string<br> }))</pre> |`[]`| no |
90
90
| <aname="input_custom_origin_headers"></a> [custom\_origin\_headers](#input\_custom\_origin\_headers)| A list of origin header parameters that will be sent to origin |`list(object({ name = string, value = string }))`|`[]`| no |
91
-
| <aname="input_custom_origins"></a> [custom\_origins](#input\_custom\_origins)| A list of additional custom website [origins](https://www.terraform.io/docs/providers/aws/r/cloudfront_distribution.html#origin-arguments) for this distribution. | <pre>list(object({<br> domain_name = string<br> origin_id = string<br> origin_path = string<br> custom_headers = list(object({<br> name = string<br> value = string<br> }))<br> custom_origin_config = object({<br> http_port = number<br> https_port = number<br> origin_protocol_policy = string<br> origin_ssl_protocols = list(string)<br> origin_keepalive_timeout = number<br> origin_read_timeout = number<br> })<br> }))</pre> |`[]`| no |
91
+
| <aname="input_custom_origins"></a> [custom\_origins](#input\_custom\_origins)| A list of additional custom website [origins](https://www.terraform.io/docs/providers/aws/r/cloudfront_distribution.html#origin-arguments) for this distribution. | <pre>list(object({<br> domain_name = string<br> origin_id = string<br> origin_path = string<br> origin_access_control_id = string<br> custom_headers = list(object({<br> name = string<br> value = string<br> }))<br> custom_origin_config = object({<br> http_port = number<br> https_port = number<br> origin_protocol_policy = string<br> origin_ssl_protocols = list(string)<br> origin_keepalive_timeout = number<br> origin_read_timeout = number<br> })<br> }))</pre> |`[]`| no |
92
92
| <aname="input_default_root_object"></a> [default\_root\_object](#input\_default\_root\_object)| Object that CloudFront return when requests the root URL |`string`|`"index.html"`| no |
93
93
| <aname="input_default_ttl"></a> [default\_ttl](#input\_default\_ttl)| Default amount of time (in seconds) that an object is in a CloudFront cache |`number`|`60`| no |
94
94
| <aname="input_delimiter"></a> [delimiter](#input\_delimiter)| Delimiter to be used between ID elements.<br>Defaults to `-` (hyphen). Set to `""` to use no delimiter at all. |`string`|`null`| no |
Copy file name to clipboardExpand all lines: variables.tf
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -446,9 +446,10 @@ variable "ordered_cache" {
446
446
447
447
variable"custom_origins" {
448
448
type=list(object({
449
-
domain_name =string
450
-
origin_id =string
451
-
origin_path =string
449
+
domain_name =string
450
+
origin_id =string
451
+
origin_path =string
452
+
origin_access_control_id =optional(string)
452
453
custom_headers =list(object({
453
454
name =string
454
455
value =string
@@ -465,6 +466,8 @@ variable "custom_origins" {
465
466
default=[]
466
467
description=<<-EOT
467
468
A list of additional custom website [origins](https://www.terraform.io/docs/providers/aws/r/cloudfront_distribution.html#origin-arguments) for this distribution.
469
+
The `origin_access_control_id` field specifies the Origin Access Control configuration to use for this origin.
470
+
This is used to configure secure access between CloudFront and the origin.
0 commit comments