Skip to content

Commit 29293d5

Browse files
committed
pre-commit
1 parent 48e3f69 commit 29293d5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ No modules.
153153
| <a name="input_is_ipv6_enabled"></a> [is\_ipv6\_enabled](#input\_is\_ipv6\_enabled) | Whether the IPv6 is enabled for the distribution. | `bool` | `null` | no |
154154
| <a name="input_logging_config"></a> [logging\_config](#input\_logging\_config) | The logging configuration that controls how logs are written to your distribution (maximum one). | `any` | `{}` | no |
155155
| <a name="input_ordered_cache_behavior"></a> [ordered\_cache\_behavior](#input\_ordered\_cache\_behavior) | 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. | `any` | `[]` | no |
156-
| <a name="input_origin"></a> [origin](#input\_origin) | One or more origins for this distribution (multiples allowed). | `any` | `null` | no |
156+
| <a name="input_origin"></a> [origin](#input\_origin) | One or more origins for this distribution (multiples allowed). | <pre>map(object({<br/> connection_attempts = optional(number)<br/> connection_timeout = optional(number)<br/> custom_origin_config = optional(object({<br/> http_port = number<br/> https_port = number<br/> origin_protocol_policy = string<br/> origin_ssl_protocols = list(string)<br/> origin_keepalive_timeout = optional(number)<br/> origin_read_timeout = optional(number)<br/> }))<br/> domain_name = string<br/> custom_header = optional(list(object({<br/> name = string<br/> value = string<br/> })))<br/> origin_access_control_id = optional(string)<br/> origin_id = optional(string) # If not provided, map key is used.<br/> origin_path = optional(string)<br/> origin_shield = optional(object({<br/> enabled = bool<br/> origin_shield_region = optional(string)<br/> }))<br/> s3_origin_config = optional(object({<br/> origin_access_identity = string<br/> }))<br/> vpc_origin_config = optional(object({<br/> origin_keepalive_timeout = optional(number)<br/> origin_read_timeout = optional(number)<br/> vpc_origin_id = optional(string) # If not provided, uses aws_cloudfront_vpc_origin.this[this.vpc_origin].id<br/> vpc_origin = optional(string) # Custom parameter to lookup against aws_cloudfront_vpc_origin.this<br/> }))<br/> }))</pre> | `{}` | no |
157157
| <a name="input_origin_access_control"></a> [origin\_access\_control](#input\_origin\_access\_control) | Map of CloudFront origin access control | <pre>map(object({<br/> name = optional(string)<br/> description = string<br/> origin_type = string<br/> signing_behavior = string<br/> signing_protocol = string<br/> }))</pre> | <pre>{<br/> "s3": {<br/> "description": "",<br/> "origin_type": "s3",<br/> "signing_behavior": "always",<br/> "signing_protocol": "sigv4"<br/> }<br/>}</pre> | no |
158158
| <a name="input_origin_access_identities"></a> [origin\_access\_identities](#input\_origin\_access\_identities) | Map of CloudFront origin access identities (value as a comment) | `map(string)` | `{}` | no |
159159
| <a name="input_origin_group"></a> [origin\_group](#input\_origin\_group) | One or more origin\_group for this distribution (multiples allowed). | `any` | `{}` | no |

wrappers/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module "wrapper" {
2020
is_ipv6_enabled = try(each.value.is_ipv6_enabled, var.defaults.is_ipv6_enabled, null)
2121
logging_config = try(each.value.logging_config, var.defaults.logging_config, {})
2222
ordered_cache_behavior = try(each.value.ordered_cache_behavior, var.defaults.ordered_cache_behavior, [])
23-
origin = try(each.value.origin, var.defaults.origin, null)
23+
origin = try(each.value.origin, var.defaults.origin, {})
2424
origin_access_control = try(each.value.origin_access_control, var.defaults.origin_access_control, {
2525
s3 = {
2626
description = "",

0 commit comments

Comments
 (0)