(cloudfront): Cache Policy cannot forward Authorization header. #13441
Labels
@aws-cdk/aws-cloudfront
Related to Amazon CloudFront
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
I am distributing HTTP API with cloudfront distribution and I wanted to forward
Authorization
Header.#13408 (comment)
I was told to create cache policy with allow list
I get error
Invalid request provided: AWS::CloudFront::CachePolicy
Reproduction Steps
As per the instructions #13408 (comment) I did
So I went to the cloudfront console and added new policy
What did you expect to happen?
As per documentation https://aws.amazon.com/premiumsupport/knowledge-center/cloudfront-authorization-header/
I should be able to forward
Authorization
header with cache policy.What actually happened?
When I set default, max & min ttl to zero then all remaining options are disabled.
Environment
Other
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: