Because no permissions boundary allows the cloudformation:DescribeStacks action

0
Deploying sns to stage dev (us-east-1)

✖ Stack sns-dev failed to deploy (2s)
Environment: darwin, node 19.3.0, framework 3.26.0, plugin 6.2.2, SDK 4.3.2
Credentials: Local, "default" profile
Docs:        docs.serverless.com
Support:     forum.serverless.com
Bugs:        github.com/serverless/serverless/issues

Error:
User: arn:aws:iam:::{user} is not authorized to perform: cloudformation:DescribeStacks on resource: arn:aws:cloudformation:us-east-{}:stack/sns-dev/* because no permissions boundary allows the cloudformation:DescribeStacks action
1 回答
2

It seems like the principal that you're trying to deploy with doesn't have the permissions. Can you add a policy such as AWSCloudFormationReadOnlyAccess to the user and try again?

AWS
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则