Skip to content

Commit

Permalink
Merge pull request #22616 from Dipankar-Medhi/cors-config-origin-over…
Browse files Browse the repository at this point in the history
…ride

This fixes #22220
  • Loading branch information
ewbankkit authored Jan 18, 2022
2 parents 8e270e5 + 8bb779e commit f14a920
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 for the HTTP response header.

### Custom Header

Expand Down

0 comments on commit f14a920

Please sign in to comment.