{"action":"created","issue":{"url":"https://api.github.com/repos/Miserlou/Zappa/issues/1096","repository_url":"https://api.github.com/repos/Miserlou/Zappa","labels_url":"https://api.github.com/repos/Miserlou/Zappa/issues/1096/labels{/name}","comments_url":"https://api.github.com/repos/Miserlou/Zappa/issues/1096/comments","events_url":"https://api.github.com/repos/Miserlou/Zappa/issues/1096/events","html_url":"https://github.com/Miserlou/Zappa/issues/1096","id":256345519,"number":1096,"title":"Add support for Lambda@Edge to support multi-region redundancy","user":{"login":"dgonzo","id":361559,"avatar_url":"https://avatars1.githubusercontent.com/u/361559?v=4","gravatar_id":"","url":"https://api.github.com/users/dgonzo","html_url":"https://github.com/dgonzo","followers_url":"https://api.github.com/users/dgonzo/followers","following_url":"https://api.github.com/users/dgonzo/following{/other_user}","gists_url":"https://api.github.com/users/dgonzo/gists{/gist_id}","starred_url":"https://api.github.com/users/dgonzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgonzo/subscriptions","organizations_url":"https://api.github.com/users/dgonzo/orgs","repos_url":"https://api.github.com/users/dgonzo/repos","events_url":"https://api.github.com/users/dgonzo/events{/privacy}","received_events_url":"https://api.github.com/users/dgonzo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-09-08T19:11:31Z","updated_at":"2017-09-08T19:23:44Z","closed_at":"2017-09-08T19:23:44Z","author_association":"NONE","body":"Currently, it is not possible to put an A (alias) in front a [redundant multi-region deploy of lambda with api-gateway](https://forums.aws.amazon.com/thread.jspa?threadID=234312&start=0&tstart=0).\r\n\r\n## Context\r\nIdeally, CloudFront would be able to handle this, and some of the responses from AWS indicate that a fix is forthcoming. However, as of Sept 2017 using Rout53 A (alias) plus weighting will not resolve a custom domain name in API-gateway.\r\n\r\n## Expected Behavior\r\nUsing the \"global\" configuration parameter or a new \"edge\" parameter would provision Lambda@Edge on available regions.\r\n\r\n## Actual Behavior\r\nUsing the \"global\" configuration parameter creates separate lambda deployments for all regions; e.g. us-east-1-dev, us-east-2-dev, etc., etc.\r\n\r\n## Possible Fix\r\nThere appears to be a hack using Lambda@Edge, which has been implemented at some level in serverless using a [plugin](https://github.com/silvermine/serverless-plugin-cloudfront-lambda-edge)."},"comment":{"url":"https://api.github.com/repos/Miserlou/Zappa/issues/comments/328192405","html_url":"https://github.com/Miserlou/Zappa/issues/1096#issuecomment-328192405","issue_url":"https://api.github.com/repos/Miserlou/Zappa/issues/1096","id":328192405,"user":{"login":"dgonzo","id":361559,"avatar_url":"https://avatars1.githubusercontent.com/u/361559?v=4","gravatar_id":"","url":"https://api.github.com/users/dgonzo","html_url":"https://github.com/dgonzo","followers_url":"https://api.github.com/users/dgonzo/followers","following_url":"https://api.github.com/users/dgonzo/following{/other_user}","gists_url":"https://api.github.com/users/dgonzo/gists{/gist_id}","starred_url":"https://api.github.com/users/dgonzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgonzo/subscriptions","organizations_url":"https://api.github.com/users/dgonzo/orgs","repos_url":"https://api.github.com/users/dgonzo/repos","events_url":"https://api.github.com/users/dgonzo/events{/privacy}","received_events_url":"https://api.github.com/users/dgonzo/received_events","type":"User","site_admin":false},"created_at":"2017-09-08T19:23:44Z","updated_at":"2017-09-08T19:23:44Z","author_association":"NONE","body":"That does appear to be the case. I may implement a patch that uses a generic passthrough in node. If it works I'll share it back here."}}
{"actor":{"display_login":"dgonzo"}}