From 53c1f1262d9723d9710e56e4a67ca92afd3f184c Mon Sep 17 00:00:00 2001 From: Dipankar Medhi <66299815+Dipankar-Medhi@users.noreply.github.com> Date: Sun, 16 Jan 2022 19:21:35 +0530 Subject: [PATCH 1/2] add cors_config.origin_override in Argument Reference section --- website/docs/r/cloudfront_response_headers_policy.html.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/website/docs/r/cloudfront_response_headers_policy.html.markdown b/website/docs/r/cloudfront_response_headers_policy.html.markdown index 8a3db5874e6..2160c5aaf10 100644 --- a/website/docs/r/cloudfront_response_headers_policy.html.markdown +++ b/website/docs/r/cloudfront_response_headers_policy.html.markdown @@ -82,6 +82,7 @@ The following arguments are supported: * `access_control_allow_origins` - (Optional) Object that contains an attribute `items` that contains a list of origins that CloudFront can use as the value for the `Access-Control-Allow-Origin` HTTP response header. * `access_control_expose_headers` - (Optional) Object that contains an attribute `items` that contains a list of HTTP headers that CloudFront includes as values for the `Access-Control-Expose-Headers` HTTP response header. * `access_control_max_age_sec` - (Required) A number that CloudFront uses as the value for the `Access-Control-Max-Age` HTTP response header. +* `origin_override` - (Required) A Boolean value that determines how CloudFront behaves when the response from the origin contains one of the CORS headers that’s also in the policy. ### Custom Header From 8bb779ecc7219c5512998a8f994d3fa1e0b6e0ca Mon Sep 17 00:00:00 2001 From: Dipankar Medhi <66299815+Dipankar-Medhi@users.noreply.github.com> Date: Sun, 16 Jan 2022 19:32:45 +0530 Subject: [PATCH 2/2] update - cors_config.origin_override in Argument Reference section --- website/docs/r/cloudfront_response_headers_policy.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/r/cloudfront_response_headers_policy.html.markdown b/website/docs/r/cloudfront_response_headers_policy.html.markdown index 2160c5aaf10..ed63e1f2282 100644 --- a/website/docs/r/cloudfront_response_headers_policy.html.markdown +++ b/website/docs/r/cloudfront_response_headers_policy.html.markdown @@ -82,7 +82,7 @@ The following arguments are supported: * `access_control_allow_origins` - (Optional) Object that contains an attribute `items` that contains a list of origins that CloudFront can use as the value for the `Access-Control-Allow-Origin` HTTP response header. * `access_control_expose_headers` - (Optional) Object that contains an attribute `items` that contains a list of HTTP headers that CloudFront includes as values for the `Access-Control-Expose-Headers` HTTP response header. * `access_control_max_age_sec` - (Required) A number that CloudFront uses as the value for the `Access-Control-Max-Age` HTTP response header. -* `origin_override` - (Required) A Boolean value that determines how CloudFront behaves when the response from the origin contains one of the CORS headers that’s also in the policy. +* `origin_override` - (Required) A Boolean value that determines how CloudFront behaves for the HTTP response header. ### Custom Header