community.aws icon indicating copy to clipboard operation
community.aws copied to clipboard

New Modules: `cloudfront_cache_policy` and `cloudfront_origin_request_policy`

Open Zozman opened this issue 5 months ago • 20 comments

SUMMARY

Currently, there is no module available for creating and modifying CloudFront Cache Policies and Origin Request Policies. This makes it difficult to use custom ones with the cloudfront_distribution module.

Therefore this PR is to add modules for these 2 resources. As these resources are similar in management and functions to CloudFront Response Header Policies that are managed by the cloudfront_response_headers_policy module, this PR is heavily based on the work in #925.

ISSUE TYPE
  • New Module Pull Request
COMPONENT NAME
  • cloudfront_cache_policy
  • cloudfront_origin_request_policy

Zozman avatar Jan 16 '24 22:01 Zozman