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

Option for configuring existing cloudfront #65

Open
amimas opened this issue Jan 1, 2024 · 1 comment
Open

Option for configuring existing cloudfront #65

amimas opened this issue Jan 1, 2024 · 1 comment

Comments

@amimas
Copy link

amimas commented Jan 1, 2024

Hello. Thanks for this sample. I believe this will create a new s3 bucket for hosting static files and also create a cloudfront distribution for serving those files/contents. Please let me know if I'm mistaken.

Could you please provide an option so that I can deploy the lambda that will connect to an existing cloudfront?

I already have cloudfront distribution serving from existing s3 bucket. I'd prefer to keep that infrastructure since they have other configs made. Giving the option for using existing cloudfront will also be useful if contents are served from an origin other than s3 bucket.

@kenmccann
Copy link

Completely agree. A common use case is that users of this repository already have infrastructure in place for CloudFront and S3, but they're looking to supplement the existing infrastructure with authentication via this module.

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

No branches or pull requests

2 participants