-
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
[apigateway] The certificate provided must be owned by the account creating the domain #13512
Comments
Hey @Lock128 - This doesn't seem to be related to the CDK. According to the issue you've linked - #9548 - it seems that the certificate and ApiGateway need to be in the same region and account. However, I'm not intimately aware of the requirements and limitations of ACM. You will need to contact the relevant teams via AWS support. Let us know if I misunderstood something here and requires attention from the CDK. |
Hey @nija-at I think t his is a CDK issue as somewhere it automatically references the certificate in the wrong region (in eu-central-1 where the apigateway is deployed, however due to the nature of the APIGateway using cloudfront to provide the HTTPS functionality, the certificate needs to be placed in the us-east-1 region). Manually I was able to set up the set up the customdomain Regards |
Hey @Lock128 - Thanks for your response. You will need to provide a code sample and reproduction steps for me to proceed. |
Hey @nija-at here you are: in the credentials file I have
And obviouslyI have removed my ARN here Let me know if you need anything else Regards |
This comment has been minimized.
This comment has been minimized.
C:\Users\JohannesKoch\git-private\aws-cdk-13512>cdk --version |
The generated template, references the ARN only in one place, namely the
I'm still suspecting that this is something with APIGateway and CloudFormation. As far as I can tell, I cannot see any other incorrect reference of region. |
This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
having the same issue |
I have a manually imported certifcated in ACM in us-east-1 (not part of the CDK stack) and a EDGE API created by CDK in eu-central-1
Unfortunately when trying to deploy the stack I am getting
Reproduction Steps
Java code used for API:
What did you expect to happen?
I was expecting that "api.domain.com" is created as custom domain for the API Gateway
What actually happened?
Got the error message mentioned above
Environment
Other
see above
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: