{"action":"created","issue":{"url":"https://api.github.com/repos/serverless/serverless/issues/1738","repository_url":"https://api.github.com/repos/serverless/serverless","labels_url":"https://api.github.com/repos/serverless/serverless/issues/1738/labels{/name}","comments_url":"https://api.github.com/repos/serverless/serverless/issues/1738/comments","events_url":"https://api.github.com/repos/serverless/serverless/issues/1738/events","html_url":"https://github.com/serverless/serverless/issues/1738","id":168991366,"number":1738,"title":"HTTP Events, cannot add methods for root `/`endpoint","user":{"login":"shortjared","id":1689118,"avatar_url":"https://avatars.githubusercontent.com/u/1689118?v=3","gravatar_id":"","url":"https://api.github.com/users/shortjared","html_url":"https://github.com/shortjared","followers_url":"https://api.github.com/users/shortjared/followers","following_url":"https://api.github.com/users/shortjared/following{/other_user}","gists_url":"https://api.github.com/users/shortjared/gists{/gist_id}","starred_url":"https://api.github.com/users/shortjared/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shortjared/subscriptions","organizations_url":"https://api.github.com/users/shortjared/orgs","repos_url":"https://api.github.com/users/shortjared/repos","events_url":"https://api.github.com/users/shortjared/events{/privacy}","received_events_url":"https://api.github.com/users/shortjared/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/serverless/serverless/labels/bug","name":"bug","color":"ff0000"},{"url":"https://api.github.com/repos/serverless/serverless/labels/help-wanted","name":"help-wanted","color":"0e8a16"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/serverless/serverless/milestones/8","html_url":"https://github.com/serverless/serverless/milestones/v1.0","labels_url":"https://api.github.com/repos/serverless/serverless/milestones/8/labels","id":1761859,"number":8,"title":"v1.0","description":"","creator":{"login":"flomotlik","id":132653,"avatar_url":"https://avatars.githubusercontent.com/u/132653?v=3","gravatar_id":"","url":"https://api.github.com/users/flomotlik","html_url":"https://github.com/flomotlik","followers_url":"https://api.github.com/users/flomotlik/followers","following_url":"https://api.github.com/users/flomotlik/following{/other_user}","gists_url":"https://api.github.com/users/flomotlik/gists{/gist_id}","starred_url":"https://api.github.com/users/flomotlik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flomotlik/subscriptions","organizations_url":"https://api.github.com/users/flomotlik/orgs","repos_url":"https://api.github.com/users/flomotlik/repos","events_url":"https://api.github.com/users/flomotlik/events{/privacy}","received_events_url":"https://api.github.com/users/flomotlik/received_events","type":"User","site_admin":false},"open_issues":55,"closed_issues":225,"state":"open","created_at":"2016-05-12T08:39:40Z","updated_at":"2016-08-05T16:26:29Z","due_on":null,"closed_at":null},"comments":13,"created_at":"2016-08-02T21:19:33Z","updated_at":"2016-08-05T19:34:42Z","closed_at":null,"body":"##### Serverless Framework Version: \r\n\r\n1.0.0-alpha.2\r\n\r\n##### Operating System: \r\n\r\nOSX 10.11.6\r\n\r\n##### Expected Behavior:\r\n\r\nI would expect that I would be able to somehow deploy a method against the root `/` endpoint. Seems like validations block this from happening? Either that or I missed in the docs how to handle this.\r\n\r\n##### Actual Behavior:\r\n\r\n```yaml\r\nfunctions:\r\n  render:\r\n    handler: handler.render\r\n    timeout: 6\r\n    events:\r\n      - http:\r\n          path: /\r\n          method: get\r\n```\r\n\r\n```\r\n♪ sls deploy\r\nServerless: Zipping service...\r\nServerless: Removing old service versions...\r\nServerless: Uploading .zip file to S3...\r\nServerless: Updating Stack...\r\n\r\n  Validation Error ---------------------------------------\r\n\r\n     Template format error: Unresolved resource dependencies\r\n     [ResourceApigEvent] in the Resources block of the template\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/serverless/serverless/issues/comments/237942761","html_url":"https://github.com/serverless/serverless/issues/1738#issuecomment-237942761","issue_url":"https://api.github.com/repos/serverless/serverless/issues/1738","id":237942761,"user":{"login":"nathanlenz","id":847457,"avatar_url":"https://avatars.githubusercontent.com/u/847457?v=3","gravatar_id":"","url":"https://api.github.com/users/nathanlenz","html_url":"https://github.com/nathanlenz","followers_url":"https://api.github.com/users/nathanlenz/followers","following_url":"https://api.github.com/users/nathanlenz/following{/other_user}","gists_url":"https://api.github.com/users/nathanlenz/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanlenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanlenz/subscriptions","organizations_url":"https://api.github.com/users/nathanlenz/orgs","repos_url":"https://api.github.com/users/nathanlenz/repos","events_url":"https://api.github.com/users/nathanlenz/events{/privacy}","received_events_url":"https://api.github.com/users/nathanlenz/received_events","type":"User","site_admin":false},"created_at":"2016-08-05T19:34:42Z","updated_at":"2016-08-05T19:34:42Z","body":"I got it working also (sorta). Using your changes. Plus, I had to set the PathPart of the unused resource to something in order to get it to take. It creates the unneeded resource, but actually attaches the lambda function to the / GET.\r\n\r\n![screenshot 2016-08-05 14 30 36](https://cloud.githubusercontent.com/assets/847457/17448372/867517fe-5b19-11e6-9812-e792a28cdddb.png)\r\n\r\n"}}
{"actor":{"display_login":"nathanlenz"}}