Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add response headers policy input for CloudFront distributions default behaviour #195

Merged

Conversation

itschrishudson
Copy link
Contributor

what

  • Adds an input to pass a response headers policy ID into the CloudFront distribution in the default cache behaviour.

why

  • AWS have recently released the ability to generate response header policies to add response headers for CORS/Security and custom use cases instead of setting at the origin or using a Lambda.
  • The current module does not allow you to pass in the ID of a policy in order to associate it with a the CloudFront distributions default behaviour.

references

@itschrishudson itschrishudson requested review from a team as code owners November 10, 2021 14:15
@itschrishudson itschrishudson requested review from milldr and RothAndrew and removed request for a team November 10, 2021 14:15
variables.tf Outdated Show resolved Hide resolved
variables.tf Outdated Show resolved Hide resolved
@nitrocode
Copy link
Member

/test all

@nitrocode nitrocode merged commit 3f39c57 into cloudposse:master Nov 10, 2021
@nitrocode
Copy link
Member

@itschrishudson thanks for the contribution. This has been released as https://github.com/cloudposse/terraform-aws-cloudfront-s3-cdn/releases/tag/0.76.0 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants