{"action":"created","issue":{"url":"https://api.github.com/repos/garnaat/kappa/issues/6","labels_url":"https://api.github.com/repos/garnaat/kappa/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/garnaat/kappa/issues/6/comments","events_url":"https://api.github.com/repos/garnaat/kappa/issues/6/events","html_url":"https://github.com/garnaat/kappa/issues/6","id":55172715,"number":6,"title":"deploy creates zip wrongly with folders","user":{"login":"teebu","id":5531844,"avatar_url":"https://avatars.githubusercontent.com/u/5531844?v=3","gravatar_id":"","url":"https://api.github.com/users/teebu","html_url":"https://github.com/teebu","followers_url":"https://api.github.com/users/teebu/followers","following_url":"https://api.github.com/users/teebu/following{/other_user}","gists_url":"https://api.github.com/users/teebu/gists{/gist_id}","starred_url":"https://api.github.com/users/teebu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teebu/subscriptions","organizations_url":"https://api.github.com/users/teebu/orgs","repos_url":"https://api.github.com/users/teebu/repos","events_url":"https://api.github.com/users/teebu/events{/privacy}","received_events_url":"https://api.github.com/users/teebu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-01-22T16:14:51Z","updated_at":"2015-03-05T13:52:57Z","closed_at":null,"body":"There is a bug when it creates a zip with a path in the settings. Amazon wants the contents of the zip, not the folder zipped. \r\n\r\nSee here: http://docs.aws.amazon.com/lambda/latest/dg/walkthrough-s3-events-adminuser-create-test-function-create-function.html\r\n\r\nFor example:\r\n\r\nmyfolder\r\n|-myfunc.js\r\n|-node_modules\r\n|--morestuff\r\n\r\nzip should look like:\r\nmyfunc.js\r\n|-node_modules\r\n|--morestuff"},"comment":{"url":"https://api.github.com/repos/garnaat/kappa/issues/comments/77366627","html_url":"https://github.com/garnaat/kappa/issues/6#issuecomment-77366627","issue_url":"https://api.github.com/repos/garnaat/kappa/issues/6","id":77366627,"user":{"login":"garnaat","id":2056,"avatar_url":"https://avatars.githubusercontent.com/u/2056?v=3","gravatar_id":"","url":"https://api.github.com/users/garnaat","html_url":"https://github.com/garnaat","followers_url":"https://api.github.com/users/garnaat/followers","following_url":"https://api.github.com/users/garnaat/following{/other_user}","gists_url":"https://api.github.com/users/garnaat/gists{/gist_id}","starred_url":"https://api.github.com/users/garnaat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garnaat/subscriptions","organizations_url":"https://api.github.com/users/garnaat/orgs","repos_url":"https://api.github.com/users/garnaat/repos","events_url":"https://api.github.com/users/garnaat/events{/privacy}","received_events_url":"https://api.github.com/users/garnaat/received_events","type":"User","site_admin":false},"created_at":"2015-03-05T13:52:57Z","updated_at":"2015-03-05T13:52:57Z","body":"Did you try it with this config?\r\n\r\n    lambda:\r\n      name: AutoStartLalala\r\n      zipfile_name: AutoStart.zip\r\n      description: Start ....\r\n      path: autoStart\r\n                   ^^^^ - note no trailing / character"}}