{"action":"created","issue":{"url":"https://api.github.com/repos/jaws-framework/JAWS/issues/294","labels_url":"https://api.github.com/repos/jaws-framework/JAWS/issues/294/labels{/name}","comments_url":"https://api.github.com/repos/jaws-framework/JAWS/issues/294/comments","events_url":"https://api.github.com/repos/jaws-framework/JAWS/issues/294/events","html_url":"https://github.com/jaws-framework/JAWS/issues/294","id":115915667,"number":294,"title":"Stages management","user":{"login":"katspaugh","id":381895,"avatar_url":"https://avatars.githubusercontent.com/u/381895?v=3","gravatar_id":"","url":"https://api.github.com/users/katspaugh","html_url":"https://github.com/katspaugh","followers_url":"https://api.github.com/users/katspaugh/followers","following_url":"https://api.github.com/users/katspaugh/following{/other_user}","gists_url":"https://api.github.com/users/katspaugh/gists{/gist_id}","starred_url":"https://api.github.com/users/katspaugh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katspaugh/subscriptions","organizations_url":"https://api.github.com/users/katspaugh/orgs","repos_url":"https://api.github.com/users/katspaugh/repos","events_url":"https://api.github.com/users/katspaugh/events{/privacy}","received_events_url":"https://api.github.com/users/katspaugh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-09T16:41:50Z","updated_at":"2015-11-10T01:06:38Z","closed_at":null,"body":"I created a project and 3 stages using this command:\r\n\r\n```\r\njaws stage create\r\n```\r\n\r\nAnd then deployed each of the new stages using `jaws dash`.\r\n\r\nJAWS created 3 Lambda functions for me and 3 API Gateway resources (each with one stage). What I expected was that JAWS would re-use a single Lambda function and a single API Gateway resource with 3 stages like on this screenshot:\r\n\r\n<img width=\"230\" alt=\"screen shot 2015-11-09 at 17 30 30\" src=\"https://cloud.githubusercontent.com/assets/381895/11039545/7a864048-8708-11e5-964c-ec13fe177cf6.png\">\r\n\r\nWhat's the reasoning behind the decision to make JAWS work like this?"},"comment":{"url":"https://api.github.com/repos/jaws-framework/JAWS/issues/comments/155250440","html_url":"https://github.com/jaws-framework/JAWS/issues/294#issuecomment-155250440","issue_url":"https://api.github.com/repos/jaws-framework/JAWS/issues/294","id":155250440,"user":{"login":"yyolk","id":134478,"avatar_url":"https://avatars.githubusercontent.com/u/134478?v=3","gravatar_id":"","url":"https://api.github.com/users/yyolk","html_url":"https://github.com/yyolk","followers_url":"https://api.github.com/users/yyolk/followers","following_url":"https://api.github.com/users/yyolk/following{/other_user}","gists_url":"https://api.github.com/users/yyolk/gists{/gist_id}","starred_url":"https://api.github.com/users/yyolk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yyolk/subscriptions","organizations_url":"https://api.github.com/users/yyolk/orgs","repos_url":"https://api.github.com/users/yyolk/repos","events_url":"https://api.github.com/users/yyolk/events{/privacy}","received_events_url":"https://api.github.com/users/yyolk/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T01:06:38Z","updated_at":"2015-11-10T01:06:38Z","body":"There is versioning in Lambda but currently theres no way to tie a stage or stage(s) from api-gateway to a version or alias."}}