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_name"></a> [name](#input\_name)| (Required) A unique name to identify the CloudFront Origin Request Policy. |`string`| n/a | yes |
36
36
| <aname="input_description"></a> [description](#input\_description)| (Optional) The description of the origin request policy. |`string`|`"Managed by Terraform."`| no |
37
-
| <aname="input_forwarding_cookies"></a> [forwarding\_cookies](#input\_forwarding\_cookies)| (Optional) A configuration for specifying which cookies in viewer requests to be forwarded in the origin requests. `forwarding_cookies` as defined below.<br> (Required) `behavior` - Determine whether any cookies in viewer requests are forwarded in the origin requests. Valid values are `NONE`, `WHITELIST`, `ALL`, `BLACKLIST`. Defaults to `NONE`.<br> (Optional) `items` - A list of cookie names. It only takes effect when `behavior` are `WHITELIST`, `BLACKLIST`. | <pre>object({<br> behavior = optional(string, "NONE")<br> items = optional(set(string), [])<br> })</pre> |`{}`| no |
38
-
| <aname="input_forwarding_headers"></a> [forwarding\_headers](#input\_forwarding\_headers)| (Optional) A configuration for specifying which headers in viewer requests to be forwarded in the origin requests. `forwarding_headers` as defined below.<br> (Required) `behavior` - Determine whether any headers in viewer requests are forwarded in the origin requests. Valid values are `NONE`, `WHITELIST`, `BLACKLIST`, `ALL_VIEWER` and `ALL_VIEWER_AND_CLOUDFRONT_WHITELIST`. Defaults to `NONE`.<br> (Optional) `items` - A list of header names. It only takes effect when `behavior` are `WHITELIST`, `BLACKLIST` or `ALL_VIEWER_AND_CLOUDFRONT_WHITELIST`. | <pre>object({<br> behavior = optional(string, "NONE")<br> items = optional(set(string), [])<br> })</pre> |`{}`| no |
39
-
| <aname="input_forwarding_query_strings"></a> [forwarding\_query\_strings](#input\_forwarding\_query\_strings)| (Optional) A configuration for specifying which query strings in viewer requests to be forwarded in the origin requests. `forwarding_query_strings` as defined below.<br> (Required) `behavior` - Determine whether any query strings in viewer requests are forwarded in the origin requests. Valid values are `NONE`, `WHITELIST`, `BLACKLIST`, `ALL`. Defaults to `NONE`.<br> (Optional) `items` - A list of query string names. It only takes effect when `behavior` are `WHITELIST`, `BLACKLIST`. | <pre>object({<br> behavior = optional(string, "NONE")<br> items = optional(set(string), [])<br> })</pre> |`{}`| no |
37
+
| <aname="input_forwarding_cookies"></a> [forwarding\_cookies](#input\_forwarding\_cookies)| (Optional) A configuration for specifying which cookies in viewer requests to be forwarded in the origin requests. `forwarding_cookies` as defined below.<br/> (Required) `behavior` - Determine whether any cookies in viewer requests are forwarded in the origin requests. Valid values are `NONE`, `WHITELIST`, `ALL`, `BLACKLIST`. Defaults to `NONE`.<br/> (Optional) `items` - A list of cookie names. It only takes effect when `behavior` are `WHITELIST`, `BLACKLIST`. | <pre>object({<br/> behavior = optional(string, "NONE")<br/> items = optional(set(string), [])<br/> })</pre> |`{}`| no |
38
+
| <aname="input_forwarding_headers"></a> [forwarding\_headers](#input\_forwarding\_headers)| (Optional) A configuration for specifying which headers in viewer requests to be forwarded in the origin requests. `forwarding_headers` as defined below.<br/> (Required) `behavior` - Determine whether any headers in viewer requests are forwarded in the origin requests. Valid values are `NONE`, `WHITELIST`, `BLACKLIST`, `ALL_VIEWER` and `ALL_VIEWER_AND_CLOUDFRONT_WHITELIST`. Defaults to `NONE`.<br/> (Optional) `items` - A list of header names. It only takes effect when `behavior` are `WHITELIST`, `BLACKLIST` or `ALL_VIEWER_AND_CLOUDFRONT_WHITELIST`. | <pre>object({<br/> behavior = optional(string, "NONE")<br/> items = optional(set(string), [])<br/> })</pre> |`{}`| no |
39
+
| <aname="input_forwarding_query_strings"></a> [forwarding\_query\_strings](#input\_forwarding\_query\_strings)| (Optional) A configuration for specifying which query strings in viewer requests to be forwarded in the origin requests. `forwarding_query_strings` as defined below.<br/> (Required) `behavior` - Determine whether any query strings in viewer requests are forwarded in the origin requests. Valid values are `NONE`, `WHITELIST`, `BLACKLIST`, `ALL`. Defaults to `NONE`.<br/> (Optional) `items` - A list of query string names. It only takes effect when `behavior` are `WHITELIST`, `BLACKLIST`. | <pre>object({<br/> behavior = optional(string, "NONE")<br/> items = optional(set(string), [])<br/> })</pre> |`{}`| no |
40
40
41
41
## Outputs
42
42
43
43
| Name | Description |
44
44
|------|-------------|
45
+
| <aname="output_arn"></a> [arn](#output\_arn)| The ARN of the CloudFront origin request policy. |
45
46
| <aname="output_description"></a> [description](#output\_description)| The description of the origin request policy. |
46
47
| <aname="output_etag"></a> [etag](#output\_etag)| The current version of the origin request policy. |
47
48
| <aname="output_forwarding_cookies"></a> [forwarding\_cookies](#output\_forwarding\_cookies)| A configuration for specifying which cookies to be forwarded in the origin requests. |
0 commit comments