Invoke lamdbda from BuildStep in CICD Pipeline - Access denied #28970
jakobbrockner
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I have developed a CICD pipeline I AWS with the AWS CDK. In the CDK I also create a Lambda function that I would like to invoke in a buildstep in the pipeline.
In the buildstep I try to invoke the lambda but the IAM role that is running the build step I having a policy in which Invokelambda is not allowed. I am able to add invokelambda to the policy manually after the pipeline is created.
I would like to be able to have the CDK somehow give the IAM role / policy the invokelambda automatically so I should not do a manual step.
How can I do that? 😊
Best regards
Jakob
Beta Was this translation helpful? Give feedback.
All reactions