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 . This is my first time setting it up. Now I am stuck on the step, creating the pipeline and it is giving me the following error when I click on the create pipeline button.
I exactly followed the steps mentioned in the link. Why am I getting that error?
You can see the preview of my configuration here.
What is wrong with my configuration? It is giving me this error as well.
Stack [lambda-pipeline-stack] does not exist
Hope this helps someone - The error basically says that
the lambda has no permission to perform/do
iam:PassRole
on a specific resource/service you are trying to use/manipulate with lambda.
To solve this on your lamnda policy add this -
{
"Effect": "Allow",
"Action": [
"iam:PassRole"
],
"Resource": "*"
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.