Question about Origins
See original GitHub issueThanks a lot for such a complete and useful work! When looking at the example of reusing auth with my own Cloudfront distribution, I see the following:
Origins:
- DomainName: example.org
Id: dummy-origin
CustomOriginConfig:
OriginProtocolPolicy: match-viewer
- DomainName: example.com
Id: protected-origin
CustomOriginConfig:
OriginProtocolPolicy: match-viewer
Are we supposed to replace example.org
and example.com
there with other values? Also, are we supposed to add our own S3 Bucket where we’ll be deploying our SPA?
Thanks again, Sammy
Issue Analytics
- State:
- Created 4 years ago
- Comments:10
Top Results From Across the Web
A Question of Origins, DVD - Christianbook.com
Does evolution explain the diversity of species on Earth ? Exploring the latest developments in chemistry, cosmology, and biology, this visually rich, ...
Read more >A Question of Origins - CSN International
A Question of Origins takes an inspiring journey through science and Scripture in search of mankind's genesis. The theory of evolution has ...
Read more >A Question of Origins (Video 1998) - IMDb
Chemists, biologists, physicists, astronomers and geologists discuss the weaknesses of the theories of evolution and the Big Bang, as well as the strengths ......
Read more >Where Did I Come from? A Question of Origins
Once science is introduced, it raises these questions in connection with man's origins: “What is the relationship between science and the Bible?
Read more >Exploring Different Ways of Asking About Evolution
The Evolution of Pew Research Center's Survey Questions About the Origins and Development of Life on Earth. (Planet Observer/Universal Images ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sure! Great.
Shall we close this issue for now?
Great to hear that!
“You do confirm that we can easily spin-off multiple SPA Distrubtions/Buckets without the lambda@edge functions being redeployed every time, right?”
In the sample solution the userPoolId and such is added into the Lambda@Edge functions (configuration.json). So if you need to use different user pools you need different Lamda@Edge functions.
You can of course change the code, then you can do whatever.
The Lambda@Edge functions are configuration-wise not aware of the bucket they protect, nor of the CloudFront distribution they are used in. So you can re-use the Lambda@Edge functions for multiple S3 buckets/CloudFront distributions.