{"id":20770880,"url":"https://github.com/codemonauts/cloudfront-s3-multiregion","last_synced_at":"2025-12-24T22:40:00.752Z","repository":{"id":82653690,"uuid":"537405366","full_name":"codemonauts/cloudfront-s3-multiregion","owner":"codemonauts","description":"Lambda@Edge function to route S3 traffic to different regions","archived":false,"fork":false,"pushed_at":"2022-09-16T12:31:17.000Z","size":1,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-18T07:12:05.028Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codemonauts.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-16T10:13:28.000Z","updated_at":"2023-12-10T02:17:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"58dbc768-6f6c-4147-bf3a-795f637b8135","html_url":"https://github.com/codemonauts/cloudfront-s3-multiregion","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonauts%2Fcloudfront-s3-multiregion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonauts%2Fcloudfront-s3-multiregion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonauts%2Fcloudfront-s3-multiregion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonauts%2Fcloudfront-s3-multiregion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codemonauts","download_url":"https://codeload.github.com/codemonauts/cloudfront-s3-multiregion/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243104204,"owners_count":20236943,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T12:12:40.690Z","updated_at":"2025-12-24T22:40:00.744Z","avatar_url":"https://github.com/codemonauts.png","language":"Python","readme":"# Cloudfront S3 Multiregion\n\nThis Lambda@Edge function tries to find the best bucket to serve static content because Cloudfront can't directly talk\nto an S3 multiregion access point.\n\n\n## Assumptions / Setup\nThis script assumes that there is a bucket with the name `{BASE_NAME}` in the region `{FALLBACK_REGION}`. The buckets in all\nother regions are named like `{BASE_NAME}-{region-name}`.\n\nThen deploy this function to *us-east-1* and attach it to the *Origin Request* of your Cloudfront distribution.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemonauts%2Fcloudfront-s3-multiregion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodemonauts%2Fcloudfront-s3-multiregion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemonauts%2Fcloudfront-s3-multiregion/lists"}