User is not authorized to perform: cloudformation:CreateStack

后端 未结 11 1826
天涯浪人
天涯浪人 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:54

    Create the following policy:

    1. Click on Policy -> Create Policy
    2. Under Select Service - Type EKS & Select 'EKS'
    3. Under Actions: Select 'All EKS Actions'
    4. Under Resources: Either select 'All resources' or Add ARN
    5. Click on Review Policy
    6. Type the name for the policy & create the policy.

    Now, associate this policy to the user account. This should solve the issue & you should be able to create the stack.

提交回复
热议问题