-
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
(certificate manager): cannot use cross-region certificate, cannot get custom domain URL #15689
Comments
I've opened a feature request for your second request here - #15801 |
Transferring request to certificate manager for your first request. |
When/where are you getting the mentioned error with the certificate? Can you show a minimal repro? The root cause of the issue you linked was that the related account/region wasn't bootstrapped. There's also #10529, which is another case of ApiGateway + Certificate Manager causing this issue; in that case, the endpoint type had been set to REGIONAL instead of EDGE. Do either of those solutions help? |
I have run I am doing this to set up the domain mapping: new ARecord(this, "ApiDNSv4", {
zone: hostedZone,
recordName: domainName.name,
target: RecordTarget.fromAlias(
new ApiGatewayv2DomainProperties(domainName.regionalDomainName, domainName.regionalHostedZoneId)
),
}) Taken from the docs. I don't want a regional endpoint but I don't know any other way to define my v2 HTTP API as a route53 alias target. |
Sorry for the delay in response here. We apparently have some broken automation around our Re-reading through your initial description, I'm wondering if perhaps I've misinterpreted what you're trying to do:
The docs you linked to above -- for the If my understanding above is incorrect, can you let me know, and provide a minimal repo that shows what you're trying to do? |
Okay got it, I need a certificate in every region I deploy then |
|
Two issues I had trying to set up a custom domain mapping for my ApiGwV2 HttpApi.
us-east-1
in a different stack. I get [certificate-manager] The certificate provided must be owned by the account creating the domain #9608. Because I have a certificate for CloudFront and also my HttpApi it means I need to create twoCertificate
s, one from us-east-1 and one in my current region, even though the docs strongly suggest that I can use my us-east-1 cert in another region.This just gives me the boring old execute-api URL, not
https://foo.com/dev
that I want. How can I get a stack output with the custom domain URL?Environment
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: