User is not authorized to perform: cloudformation:CreateStack

后端 未结 11 1662
天涯浪人
天涯浪人 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 02:03

    I fixed this issue by adding the permission to the user in the AWS console:

    1. Go to AWS Console
    2. Find the user whose credentials you are using IAM > Access Management > Users
    3. Permissions > 'Add Permissions' > 'Attach existing policies directly'
    4. Search for and select 'AWSCloudFormationFullAccess'

提交回复
热议问题