-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core: CrossRegion References does'nt work withn exporting to multiple regions. #25377
Comments
…25384) The first attempt to fix this in #25190 didn't work because it didn't account for the fact that when exporting to multiple regions, we create multiple `ExportWriter`s that all use the same provider (and provider role). This PR fixes that by adding the policy cross region ARNs directly to the custom resource provider (1 per stack) rather than the `ExportWriter` (multiple per stack). I also updated the test case to better account for this scenario. fixes #25377 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
Just wondering when this will be released? (specifically, for go, as I'm not sure if the releases all happen at the same time)... Thanks :) |
Thanks @corymhall! I'm still getting the below error on CDK version
I have 3 stacks deploying to Looking at the CloudFormation, it appears that the UPDATE: This seems to be an issue with the latest UPDATE 2: Note downgrading to 2.69 means that this issue still exists #24464 as it's only fixed in 2.77. |
I'm also deploying cross-region SSL certificates in addition to using |
Running into the same issues with CDK version 2.87.0 (build 9fca790). Can't seem to get the Here's the error I'm seeing:
From what I can see in CloudFormation, looks like the hiccup is happening when the Just to mention, the issue isn't showing up in version 2.83.1. But given the deprecation of cross-account certificates, getting this sorted in the latest version is pretty crucial. |
Thanks for confirming. I speculate it's due to the Lambda runtime upgrade of the Lambda export writer. Pinging @corymhall onto this. |
Hey guys, any updates on this bug? I'm also trying to create some SSL certificates in cc @wirjo |
@joshmurrayeu @wirjo this should be fixed in the latest version released last week (v2.88.0) are you still seeing the issue after upgrading? |
Hey @corymhall, thanks for the prompt response. Yup, I was on |
Describe the bug
The bug fix provided in release 2.77.0
core: crossRegionReferences doesn't work when exporting to multiple regions (#25190) (89b26b8), closes #24464
Does not appear to have resolved the issue.
The inline policy for the CustomRegionExportWriter... Role is only providing access to a single zone. Synthed cf template., you can see this.
Expected Behavior
should have added multiple regions.
Current Behavior
only added one region.
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.77.0
Framework Version
No response
Node.js Version
16.15.1
OS
Amazon Linux 2
Language
Typescript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: