AWS Fundamentals Logo
AWS Fundamentals
Resource

aws_cloudfront_origin_request_policy

Manages an Cloudfront Origin Request Policy resource.

View Full Documentation on Terraform Registry

Sample HCL Configuration

A minimal configuration to get started. Refer to the Terraform Registry docs for all available arguments.

main.tf
resource "aws_cloudfront_origin_request_policy" "example" {
  # Required arguments
  name = "my-policy"
}

Get the CloudFront Cheat Sheet

Everything you need to know about CloudFront on one page. HD quality, print-friendly.

Download Free Infographic