Error getting managed CloudFront policy UseOriginCacheControlHeaders-QueryStrings
#5194
Labels
kind/bug
Some behavior is incorrect or out of spec
needs-triage
Needs attention from the triage team
Describe what happened
According to the documentation, when using
get_cache_policy
orget_cache_policy_output
function for managed policies, we should prefix the managed policy name withManaged-
. This doesn't work forUseOriginCacheControlHeaders-QueryStrings
policy, though, while it works for other policies. What does work is usingUseOriginCacheControlHeaders-QueryStrings
without prefix.Sample program
This Pulumi program fails:
Log output
Affected Resource(s)
aws.cloudfront.get_cache_policy
aws.cloudfront.get_cache_policy_output
Output of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: