Request: Use an existing cache policy
ryansun-apply opened this issue · 1 comments
Hi!
Was wondering if there were any plans to include an option to provide the arn for an existing cache policy for tf-next to use? Something similar to how origin request policies are configured. (Use default if ID is not provided)
Reason being is we have an account where we used tf-next to deploy multiple applications with the same cache policy settings and we are approaching the AWS quota hard limit for Cloudfront cache policies. If we can have all our tf-next deployments use a single cache policy, that'd free up a lot of space for other policies.
If you have no plans, I'd be happy to help contribute and see if I can add this functionality in!
Hey, thanks for the suggestion!
Yeah, would be open to a PR that adds this functionality.