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 Respuesta
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
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas