-
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
aws-apigateway: RegionalCertificateArn is not supported for PRIVATE custom domain name #32551
Comments
@successkrisz , thanks for reaching out. could you please share the synthesized template output generated after |
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
It seems that the logic determining whether to use CertificateArn or RegionalCertificateArn in CfnDomainName does not account for the possibility of a PrivateEndpoint with a custom domain name, likely because this is a new feature. Unfortunately, I couldn’t get it to work in my tests. If possible, I kindly ask the maintainers to revisit this issue, as it might impact others trying to use this configuration. I hope to explore this further in the coming weeks if time allows. |
As @dviryamin wrote, the construct uses |
@wassil can you kindly provide an example for the CDK code using |
Hi there, since this issue is closed and comments on the closed issues are not tracked, so I would request you to either re-open the issue and create a new one with sample repro code and instructions. Thanks |
@OrRosenblatt
|
Describe the bug
When trying to use a custom domain for a private API gateway, using a public hosted zone + acm certificate, CDK fails with the following error message:
The very same thing I can set up using the AWS Console when following this guide: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-private-custom-domains-tutorial.html
Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
Based on the documentation here: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-private-custom-domains-tutorial.html, I'd expect to be able to:
Current Behavior
When it gets to the stage where the domain name is created it always fail creation with the following error
Reproduction Steps
As it fails on the step for the DomainName creation step it can be reproduced by:
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.173.1 (build 4eac959)
Framework Version
No response
Node.js Version
22.11.0
OS
MacOS
Language
TypeScript
Language Version
5.7.2
Other information
No response
The text was updated successfully, but these errors were encountered: