{"action":"created","issue":{"url":"https://api.github.com/repos/serverless/serverless/issues/2469","repository_url":"https://api.github.com/repos/serverless/serverless","labels_url":"https://api.github.com/repos/serverless/serverless/issues/2469/labels{/name}","comments_url":"https://api.github.com/repos/serverless/serverless/issues/2469/comments","events_url":"https://api.github.com/repos/serverless/serverless/issues/2469/events","html_url":"https://github.com/serverless/serverless/issues/2469","id":184038911,"number":2469,"title":"v1.0.2 won't allow two http functions with same path / different HTTP methods ","user":{"login":"chris-hailstorm","id":1454260,"avatar_url":"https://avatars.githubusercontent.com/u/1454260?v=3","gravatar_id":"","url":"https://api.github.com/users/chris-hailstorm","html_url":"https://github.com/chris-hailstorm","followers_url":"https://api.github.com/users/chris-hailstorm/followers","following_url":"https://api.github.com/users/chris-hailstorm/following{/other_user}","gists_url":"https://api.github.com/users/chris-hailstorm/gists{/gist_id}","starred_url":"https://api.github.com/users/chris-hailstorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris-hailstorm/subscriptions","organizations_url":"https://api.github.com/users/chris-hailstorm/orgs","repos_url":"https://api.github.com/users/chris-hailstorm/repos","events_url":"https://api.github.com/users/chris-hailstorm/events{/privacy}","received_events_url":"https://api.github.com/users/chris-hailstorm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/serverless/serverless/labels/bug-investigating","name":"bug-investigating","color":"d93f0b"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-19T18:28:32Z","updated_at":"2016-10-20T04:42:18Z","closed_at":"2016-10-19T20:04:36Z","body":"Section of serverless.yml:\r\n\r\n```\r\nfunctions:\r\n    getxml:\r\n        name: ${self:service}-getxml---run---${opt:stage}\r\n        handler: wsgi.strip\r\n        timeout: 20\r\n        events:\r\n            - http:\r\n                path: send-template.xml\r\n                method: get\r\n                integration: lambda-proxy\r\n    postxml:\r\n        name: ${self:service}-postxml---run---${opt:stage}\r\n        handler: wsgi.strip\r\n        timeout: 20\r\n        events:\r\n            - http:\r\n                path: send-template.xml\r\n                method: post\r\n                integration: lambda-proxy\r\n```\r\n\r\nThe paths are the same, but the methods are different, GET vs. POST.\r\n\r\nIn v.1.0.0-rc.2, this was fine -- deployed many times, ran fine.  I upgrade to v1.0.2 and now when I try to deploy, I get this error:\r\n\r\n```\r\nServerless: Packaging service...\r\nServerless: Uploading CloudFormation file to S3...\r\nServerless: Uploading service .zip file to S3...\r\nServerless: Updating Stack...\r\nServerless: Checking Stack update progress...\r\n..........................Serverless: Deployment failed!\r\n \r\n  Serverless Error ---------------------------------------\r\n \r\n     An error occurred while provisioning your stack: ApiGatewayResourceSendDashtemplatexml\r\n     - Another resource with the same parent already has\r\n     this name: send-template.xml.\r\n \r\n  Get Support --------------------------------------------\r\n     Docs:          docs.serverless.com\r\n     Bugs:          github.com/serverless/serverless/issues\r\n \r\n  Your Environment Infomation -----------------------------\r\n     OS:                 darwin\r\n     Node Version:       6.3.1\r\n     Serverless Version: 1.0.2\r\n```\r\n\r\nIt appears this happened during deployment -- SLS didn't object but AWS did.  Was there a change to the CF naming conventions or anything else between these versions that would prevent the 1.0.2 deployment from refreshing / overwriting the 1.0.0-rc.2 deployment?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/serverless/serverless/issues/comments/255007639","html_url":"https://github.com/serverless/serverless/issues/2469#issuecomment-255007639","issue_url":"https://api.github.com/repos/serverless/serverless/issues/2469","id":255007639,"user":{"login":"pmuens","id":1606004,"avatar_url":"https://avatars.githubusercontent.com/u/1606004?v=3","gravatar_id":"","url":"https://api.github.com/users/pmuens","html_url":"https://github.com/pmuens","followers_url":"https://api.github.com/users/pmuens/followers","following_url":"https://api.github.com/users/pmuens/following{/other_user}","gists_url":"https://api.github.com/users/pmuens/gists{/gist_id}","starred_url":"https://api.github.com/users/pmuens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmuens/subscriptions","organizations_url":"https://api.github.com/users/pmuens/orgs","repos_url":"https://api.github.com/users/pmuens/repos","events_url":"https://api.github.com/users/pmuens/events{/privacy}","received_events_url":"https://api.github.com/users/pmuens/received_events","type":"User","site_admin":false},"created_at":"2016-10-20T04:42:18Z","updated_at":"2016-10-20T04:42:18Z","body":"@flomotlik we don't cover those cases in the integration tests. Should we add a test for it?"}}
{"actor":{"display_login":"pmuens"}}