User is not authorized to perform: cloudformation:CreateStack

后端 未结 11 1785
天涯浪人
天涯浪人 2021-01-31 01:37

I\'m trying out Serverless to create AWS Lambdas and while creating a project using the command serverless project create I\'m getting the following error.

11条回答
  •  不要未来只要你来
    2021-01-31 01:53

    if you have multiple AWS profiles, try to explicity

    export AWS_ACCESS_KEY_ID=
    export AWS_SECRET_ACCESS_KEY=
    

    before trying

    serverless deploy
    

提交回复
热议问题