Closed chrisammon3000 closed 1 year ago
Hi @abk7777
Unfortunately I can hardly reproduce this with your given code as I can't just run the given code from my IDE. Do you happen to have a simplified repo that I can just clone and deploy in my environment to reproduce this error?
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.
Describe the bug
Trying to implement a multi-region pipeline for Lambda Layers following this blog: https://aws.amazon.com/blogs/compute/deploying-aws-lambda-layers-automatically-across-multiple-regions/
It worked last month but the latest deployment is returning
Internal Failure
.cdk deploy
returns the message:CloudTrail log shows that all the GetRolePolicy calls for the
codepipeline.Pipeline
resource are returningNoSuchEntityException
:CDK resource:
When reviewing the error events, it looks like the role policies are not being created for the actions in the stage steps for at least Build and Distribute.
Expected Behavior
The role policies should be created automatically.
Current Behavior
Role policies are not being created.
Reproduction Steps
Possible Solution
When reviewing the error events, it looks like the role policies are not being created for the actions in the stage steps for at least Build and Distribute. Not sure if this is a bug or user error.
Additional Information/Context
No response
CDK CLI Version
2.66.0 (build c96c17d)
Framework Version
No response
Node.js Version
v19.4.0
OS
macOS M2
Language
Typescript
Language Version
Version 4.9.4
Other information
No response