amazon-web-services - 无服务器错误 : The security token included in the request is invalid

标签 amazon-web-services amazon-iam serverless-framework serverless

当我输入 serverless deploy 时出现这个错误:
ServerlessError:请求中包含的安全 token 无效。

最佳答案

我必须指定 sls deploy --aws-profile在我的 serverless deploy像这样的命令:

sls deploy --aws-profile common

关于amazon-web-services - 无服务器错误 : The security token included in the request is invalid,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53344944/

相关文章:

amazon-web-services - 如何启动一个新的 Terraform 项目并将 s3 设置为后端

amazon-web-services - 如何通过 CloudFormation 添加 AWS 托管策略

linux - 如何在 Amazon Web Service 的 Linux 实例上将 firefox 添加到系统 PATH?

amazon-web-services - Terraform + Route53 - 管理现有记录

amazon-web-services - 为 Secret Manager 配置凭证轮换时有关 Lambda 执行角色的问题

amazon-ec2 - IAM 角色临时凭证可以在 cloudformation 模板中使用吗?

reactjs - 如何使用 DynamoDB 后端实现 React 分页前端

serverless-framework - 如何在Serverless框架中实现step函数的别名

amazon-sqs - 从无服务器函数中获取 SQS URL?

amazon-web-services - 在 AWS 中重新分配私有(private) IP 地址?