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
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠