pipelines: can't add additional policies for the CodePipelineActionRole with provided artifactBucket and kms key #30360
Labels
@aws-cdk/pipelines
CDK Pipelines library
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
p1
Describe the bug
when an existing artifactBucket is provided with existing kms key for the pipeline, CDK would not add correct policy for the role to generate the data key and is having the error:
Consider this sample:
We got this in the synthesized iam policy
A temp workaround is to use Aspect:
Expected Behavior
CDK should render correct policies or allow users to add additional policies for it.
Current Behavior
missing required policies
Reproduction Steps
see description
Possible Solution
using Aspect
Additional Information/Context
No response
CDK CLI Version
all
Framework Version
No response
Node.js Version
all
OS
all
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: