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 Answer
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
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions