gpt4 book ai didi

node.js - 用户 : is not authorized to perform: cloudformation:DescribeStacks

转载 作者:行者123 更新时间:2023-12-03 07:38:59 38 4
gpt4 key购买 nike

我正在尝试使用此命令无服务器部署将我的 Node.js 无服务器应用程序部署到 AWS,但我不断收到此错误

User: arn:aws:iam::900989174731:user/obafemitayor2 is not authorized to perform: cloudformation:DescribeStacks on resource: arn:aws:cloudformation:eu-central-1:900989174731:stack/app/* because no permissions boundary allows the cloudformation:DescribeStacks action

我已创建一个用户并授予该用户以下权限。

  1. AWSLambdaFullAccess
  2. AmazonS3FullAccess
  3. CloudFrontFullAccess
  4. AWSCloudFormationReadOnlyAccess

我也将此政策添加到我的群组中

{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1449904348000",
"Effect": "Allow",
"Action": [
"cloudformation:CreateStack",
"cloudformation:CreateChangeSet",
"cloudformation:ListStacks",
"cloudformation:UpdateStack",
"cloudformation:DescribeChangeSet",
"cloudformation:ExecuteChangeSet"
],
"Resource": [
"*"
]
}
]
}

但我仍然收到该错误。有什么想法吗?

最佳答案

该错误非常不言自明,您的策略中缺少 cloudformation:DescribeStacks

关于node.js - 用户 : is not authorized to perform: cloudformation:DescribeStacks,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/74979957/

38 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com