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 support for sending custom headers to origin #46

Closed
bkero opened this issue Nov 24, 2020 · 0 comments · Fixed by #47
Closed

Add support for sending custom headers to origin #46

bkero opened this issue Nov 24, 2020 · 0 comments · Fixed by #47

Comments

@bkero
Copy link
Contributor

bkero commented Nov 24, 2020

Have a question? Please checkout our Slack Community or visit our Slack Archive.

Slack Community

Describe the Feature

A common use case of CloudFront is to front traffic to an origin. To only allow traffic to a origin through CloudFront, a common method is to specify a header that is injected by CloudFront to all requests going to the origin. This Terraform module should support that feature.

Expected Behavior

A user should be able to specify a number of headers, which are then expressed by a CloudFront distribution.

Use Case

To authorize traffic from CloudFront as a sole source.

Describe Ideal Solution

Only a specific (or several specific) CloudFront distributions can send traffic to a ALB.

Alternatives Considered

Ingress for a ALB can be locked down to a set of CIDRs, but then anybody who can create CloudFront distributions can access the origins. More control is needed.

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 a pull request may close this issue.

1 participant