Hello.
I’m doing this tutorial https://serverless.com/blog/node-rest-api-with-serverless-lambda-and-dynamodb/ but when I get to the part to deploy the application with sls deploy I get the message below:
$ serverless deploy
Serverless: Packaging service...
Serverless Error ---------------------------------------
ServerlessError: The security token included in the request is invalid.
Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Forums: forum.serverless.com
Chat: gitter.im/serverless/serverless
Your Environment Information -----------------------------
OS: win32
Node Version: 6.9.1
Serverless Version: 1.17.0
The file serverless.yml is the same as showed in the tutorial:
service: candidate-service
frameworkVersion: ">=1.1.0 <2.0.0"
provider:
name: aws
runtime: nodejs4.3
stage: dev
region: us-east-1
functions:
candidateSubmission:
handler: api/candidates.submit
memorySize: 128
description: Submit candidate information and starts interview process.
events:
- http:
path: candidates
method: post
How can I fix this, where I add the token and what is this token, the access key?