You must be logged in to view saved presets
Implements a CloudFront continuous deployment policy using a single header configuration for traffic routing.
resource "aws_cloudfront_continuous_deployment_policy" "example" {
enabled = true
staging_distribution_dns_names {
items = ["aws_cloudfront_distribution.staging.domain_name"]
quantity = 1
}
traffic_config {
single_header_config {
header = "aws-cf-cd-example"
value = "example"
}
type = "SingleHeader"
}
}