How to resolve physical name issue CodePipelineActionRole for cross region cross account pipeline? #23245
-
Hi, I am currently trying to create a CodePipeline pipeline and make it deploy to multiple regions in multiple accounts. As I use custom qualifiers, I am creating the replica stacks (buckets and kms keys) myself and want to pass the buckets and keys directly to the Now that I created everything, I keep hitting the same error.
I created two custom roles that I provide to the constructs, but I don't see where else I need to replace the Anyone got any idea how to solve it or simplify the solution? How my code looks.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The solution was to set the context in the App construct like this Additionally, remove the custom logic e.g. the role creation etc. and let CodePipeline handle it. |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
The solution was to set the context in the App construct like this
app = cdk.App(context={ "@aws-cdk/core:bootstrapQualifier": helper_functions.get_qualifier()} )
Additionally, remove the custom logic e.g. the role creation etc. and let CodePipeline handle it.