Skip to content

Latest commit

 

History

History

origin-request

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Requirements

Name Version
terraform >= 1.3
aws >= 5.38

Providers

Name Version
aws >= 5.38

Modules

No modules.

Resources

Name Type
aws_cloudfront_origin_request_policy.this resource

Inputs

Name Description Type Default Required
description The description of the origin request policy. string "Managed by Terraform." no
forwarding_cookies Determines whether any cookies in viewer requests are included in the origin request key and automatically included in requests that CloudFront sends to the origin.
Valid values are none, whitelist, all, allExcept.
items - A list of cookie names.
object({
behavior = optional(string, "none")
items = optional(set(string), [])
})
{} no
forwarding_headers Determines whether any HTTP headers are included in the origin request key and automatically included in requests that CloudFront sends to the origin.
Valid values are none, whitelist, allViewer, allViewerAndWhitelistCloudFront, allExcept.
items - A list of header names.
object({
behavior = optional(string, "none")
items = optional(set(string), [])
})
{} no
forwarding_query_strings Determines whether any URL query strings in viewer requests are included in the origin request key and automatically included in requests that CloudFront sends to the origin.
Valid values are none, whitelist, all, allExcept.
items - A list of query string names.
object({
behavior = optional(string, "none")
items = optional(set(string), [])
})
{} no
name A unique name to identify the CloudFront Origin Request Policy. string n/a yes

Outputs

Name Description
etag The current version of the origin request policy.
id The identifier for the origin request policy.