(pipelines): (ArtifactsBucketB94BC086 missing Allow Policy on cross-region deployments) #28187
Labels
@aws-cdk/pipelines
CDK Pipelines library
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
Describe the bug
When synthesize the pipeline cloudformation template, I am getting the following policy:
This policy only denies access and subsequently the prepare step fails with s S3 403 error.
Wen I add another stage, in the same region as the pipeline (us-east-1), then I get the correcy policy:
Expected Behavior
I would expect the policy to allow accessing S3 also when just deploying into one other region.
Current Behavior
See above.
Reproduction Steps
See above.
Possible Solution
No response
Additional Information/Context
I tried this with the latest version of the CDK as well to no success.
CDK CLI Version
2.102.0
Framework Version
No response
Node.js Version
18.16
OS
OSX
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: