[英]CloudFormation is not authorized to perform: iam:PassRole on resource
[英]User not authorized to perform: iam:PassRole on resource error in creating AWS codepipeline
I am trying to set up a continuous delivery pipeline for Lambda function following this tutorial, https://docs.aws.amazon.com/lambda/latest/dg/build-pipeline.html . 这是我第一次设置它。 现在我被困在创建管道的步骤上,当我单击创建管道按钮时,它给了我以下错误。
我完全按照链接中提到的步骤进行操作。 为什么我会收到这个错误?
你可以在这里看到我的配置预览。
我的配置有什么问题? 它也给了我这个错误。
Stack [lambda-pipeline-stack] does not exist
希望这对某人有所帮助-错误基本上是说
lambda 无权在您尝试使用/操作 lambda 的特定资源/服务上执行/执行
iam:PassRole
PassRole。
要在您的 lamnda 政策中解决此问题,请添加 -
{
"Effect": "Allow",
"Action": [
"iam:PassRole"
],
"Resource": "*"
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.