when i type serverless deploy appear this error: ServerlessError: The security token included in the request is invalid.
5 Answers
4
votes
1
votes
Can you provide more information?
Make sure that you've got the correct credentials in ~/.aws/config
and ~/.aws/credentials
. You can set these up by running aws configure
. More info here: https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html#cli-quick-configuration
Also make sure that the IAM user in question has as an attached security policy that allows access to everything you need, such as CloudFormation.
0
votes
0
votes