Adding inline policy to PDKPipeline #188
Answered
by
mteichtahl
mteichtahl
asked this question in
Q&A
-
When creating a PDKPipeline it seems there is no way to customise the role. For example, adding a policy statement to the pipeline role throws an error.
|
Beta Was this translation helpful? Give feedback.
Answered by
mteichtahl
Oct 7, 2022
Replies: 1 comment
-
CDK pipelines only generates the pipeline resources (including the associated roles) on Therefore, if you want to update a policy you need to do this after
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
cogwirrel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CDK pipelines only generates the pipeline resources (including the associated roles) on
app.synth()
.Therefore, if you want to update a policy you need to do this after
pipelineStack.pipeline.buildPipeline();
but beforeapp.synth()
. For example