{"action":"created","issue":{"url":"https://api.github.com/repos/Nordstrom/serverless-artillery/issues/76","repository_url":"https://api.github.com/repos/Nordstrom/serverless-artillery","labels_url":"https://api.github.com/repos/Nordstrom/serverless-artillery/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/Nordstrom/serverless-artillery/issues/76/comments","events_url":"https://api.github.com/repos/Nordstrom/serverless-artillery/issues/76/events","html_url":"https://github.com/Nordstrom/serverless-artillery/issues/76","id":256062996,"number":76,"title":"The function \"loadGenerator\" you want to update is not yet deployed","user":{"login":"countergram","id":117626,"avatar_url":"https://avatars2.githubusercontent.com/u/117626?v=4","gravatar_id":"","url":"https://api.github.com/users/countergram","html_url":"https://github.com/countergram","followers_url":"https://api.github.com/users/countergram/followers","following_url":"https://api.github.com/users/countergram/following{/other_user}","gists_url":"https://api.github.com/users/countergram/gists{/gist_id}","starred_url":"https://api.github.com/users/countergram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/countergram/subscriptions","organizations_url":"https://api.github.com/users/countergram/orgs","repos_url":"https://api.github.com/users/countergram/repos","events_url":"https://api.github.com/users/countergram/events{/privacy}","received_events_url":"https://api.github.com/users/countergram/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-09-07T20:37:31Z","updated_at":"2017-09-12T19:23:47Z","closed_at":null,"author_association":"NONE","body":"I tried following the quick start instructions by doing the following:\r\n\r\n```\r\nnpm i -g serverless serverless-artillery\r\nslsart deploy\r\n```\r\n\r\nThe error I get back is:\r\n\r\n```\r\n\tDeploying Lambda to AWS...\r\n\r\n{ ServerlessError: The function \"loadGenerator\" you want to update is not yet deployed. Please run \"serverless deploy\" to deploy your service. After that you can redeploy your services functions with the \"serverless deploy function\" command.\r\n    at provider.request.then.catch (/usr/local/lib/node_modules/serverless/lib/plugins/aws/deployFunction/index.js:65:13)\r\n    at tryCatcher (/usr/local/lib/node_modules/serverless/node_modules/bluebird/js/release/util.js:16:23)\r\n    at Promise._settlePromiseFromHandler (/usr/local/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:512:31)\r\n    at Promise._settlePromise (/usr/local/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:569:18)\r\n    at Promise._settlePromise0 (/usr/local/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:614:10)\r\n    at Promise._settlePromises (/usr/local/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:689:18)\r\n    at Async._drainQueue (/usr/local/lib/node_modules/serverless/node_modules/bluebird/js/release/async.js:133:16)\r\n    at Async._drainQueues (/usr/local/lib/node_modules/serverless/node_modules/bluebird/js/release/async.js:143:10)\r\n    at Immediate.Async.drainQueues (/usr/local/lib/node_modules/serverless/node_modules/bluebird/js/release/async.js:17:14)\r\n    at runCallback (timers.js:637:20)\r\n    at tryOnImmediate (timers.js:610:5)\r\n    at processImmediate [as _immediateCallback] (timers.js:582:5) name: 'ServerlessError', statusCode: undefined }\r\n\r\n\tDeploy complete.\r\n```\r\n\r\nI can't find any other config I'm supposed to be doing in the documentation."},"comment":{"url":"https://api.github.com/repos/Nordstrom/serverless-artillery/issues/comments/328956790","html_url":"https://github.com/Nordstrom/serverless-artillery/issues/76#issuecomment-328956790","issue_url":"https://api.github.com/repos/Nordstrom/serverless-artillery/issues/76","id":328956790,"user":{"login":"erikerikson","id":571200,"avatar_url":"https://avatars1.githubusercontent.com/u/571200?v=4","gravatar_id":"","url":"https://api.github.com/users/erikerikson","html_url":"https://github.com/erikerikson","followers_url":"https://api.github.com/users/erikerikson/followers","following_url":"https://api.github.com/users/erikerikson/following{/other_user}","gists_url":"https://api.github.com/users/erikerikson/gists{/gist_id}","starred_url":"https://api.github.com/users/erikerikson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikerikson/subscriptions","organizations_url":"https://api.github.com/users/erikerikson/orgs","repos_url":"https://api.github.com/users/erikerikson/repos","events_url":"https://api.github.com/users/erikerikson/events{/privacy}","received_events_url":"https://api.github.com/users/erikerikson/received_events","type":"User","site_admin":false},"created_at":"2017-09-12T19:23:47Z","updated_at":"2017-09-12T19:23:47Z","author_association":"OWNER","body":"The root cause of this is that we added a previously ignored flag here:\r\nhttps://github.com/Nordstrom/serverless-artillery/commit/83c7d1c5f1151fba3f28c8be460224896effa9be#diff-cd8767be2a8141c69090791119dc9c6bL32\r\n\r\n...but Serverless has released a convenience feature to upgrade an `sls deploy -f <name>` to a `sls deploy function -f <name>` which has a different meaning.\r\n\r\nThe resolution is to stop adding the previously ignored flag in our invocation of serverless.  We will open a PR to fix this shortly.\r\n\r\nThanks again for your report and apologies for the negative experience."}}
{"actor":{"display_login":"erikerikson"}}