{"action":"closed","issue":{"url":"https://api.github.com/repos/serverless/serverless/issues/1876","repository_url":"https://api.github.com/repos/serverless/serverless","labels_url":"https://api.github.com/repos/serverless/serverless/issues/1876/labels{/name}","comments_url":"https://api.github.com/repos/serverless/serverless/issues/1876/comments","events_url":"https://api.github.com/repos/serverless/serverless/issues/1876/events","html_url":"https://github.com/serverless/serverless/issues/1876","id":171509264,"number":1876,"title":"NPM dependency aws-sdk@2.5.0 causing deployment error","user":{"login":"gmadole","id":518019,"avatar_url":"https://avatars.githubusercontent.com/u/518019?v=3","gravatar_id":"","url":"https://api.github.com/users/gmadole","html_url":"https://github.com/gmadole","followers_url":"https://api.github.com/users/gmadole/followers","following_url":"https://api.github.com/users/gmadole/following{/other_user}","gists_url":"https://api.github.com/users/gmadole/gists{/gist_id}","starred_url":"https://api.github.com/users/gmadole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmadole/subscriptions","organizations_url":"https://api.github.com/users/gmadole/orgs","repos_url":"https://api.github.com/users/gmadole/repos","events_url":"https://api.github.com/users/gmadole/events{/privacy}","received_events_url":"https://api.github.com/users/gmadole/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-16T20:27:04Z","updated_at":"2016-08-17T13:04:19Z","closed_at":"2016-08-17T13:04:19Z","body":"The latest npm aws-sdk (v2.5.0) is causing errors when deploying.  \r\nIf I go back to v2.4.x everything works as expected.\r\n\r\n##### Serverless Framework Version: \r\n1.0.0-beta.1\r\n\r\n##### Operating System: \r\nOSX\r\n\r\n##### Expected Behavior:\r\nTo deploy to CF\r\n\r\n##### Actual Behavior:\r\nFails to deploy to CF\r\n\r\nCF shows\r\nStatus: CREATE_FAILED\t\r\nType: AWS::Lambda::Function\r\nStatus reason: Error occurred while GetObject. S3 Error Code: InvalidToken. S3 Error Message: The provided token is malformed or otherwise invalid.\r\n\r\n##### Stack-Trace (Optional):\r\n\r\n```Serverless: Zipping service...\r\nServerless: Uploading .zip file to S3...\r\nServerless: Updating Stack...\r\nServerless: Checking stack update progress...\r\nServerless: Checking stack update progress...\r\n \r\n  Serverless Error ---------------------------------------\r\n \r\n     An error occurred while provisioning your cloudformation:\r\n     The following resource(s) failed to create: [authorizerjwt,\r\n     noop, users, devices]. \r\n \r\n  Stack Trace --------------------------------------------\r\n ```\r\nServerlessError: An error occurred while provisioning your cloudformation: The following resource(s) failed to create: [authorizerjwt, noop, users, devices]. \r\n    at /usr/local/opt/nvm/versions/node/v4.3.2/lib/node_modules/serverless/lib/plugins/aws/deploy/lib/updateStack.js:56:33\r\n    at tryCatcher (/usr/local/opt/nvm/versions/node/v4.3.2/lib/node_modules/serverless/node_modules/bluebird/js/release/util.js:16:23)\r\n    at Promise._settlePromiseFromHandler (/usr/local/opt/nvm/versions/node/v4.3.2/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:504:31)\r\n    at Promise._settlePromise (/usr/local/opt/nvm/versions/node/v4.3.2/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:561:18)\r\n    at Promise._settlePromise0 (/usr/local/opt/nvm/versions/node/v4.3.2/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:606:10)\r\n    at Promise._settlePromises (/usr/local/opt/nvm/versions/node/v4.3.2/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:685:18)\r\n    at Async._drainQueue (/usr/local/opt/nvm/versions/node/v4.3.2/lib/node_modules/serverless/node_modules/bluebird/js/release/async.js:138:16)\r\n    at Async._drainQueues (/usr/local/opt/nvm/versions/node/v4.3.2/lib/node_modules/serverless/node_modules/bluebird/js/release/async.js:148:10)\r\n    at Immediate.Async.drainQueues [as _onImmediate] (/usr/local/opt/nvm/versions/node/v4.3.2/lib/node_modules/serverless/node_modules/bluebird/js/release/async.js:17:14)\r\n    at processImmediate [as _immediateCallback] (timers.js:383:17)\r\n \r\n  Get Support --------------------------------------------\r\n     Docs:          v1.docs.serverless.com\r\n     Bugs:          github.com/serverless/serverless/issues\r\n```"}}
{"actor":{"display_login":"flomotlik"}}