Using cross-region certificates for regional endpoints #639
Unanswered
marceliwac
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My application stack utilises a single certificate for a base domain (example.com) and several sub-domains (restapi.example.com, websockets.example.com). Both the website and the REST api deploy to
EDGE
endpoints, while the websockets API uses theREGIONAL
endpoint. Because theEDGE
endpoints need to be located withinus-east-1
, this prevents me from re-using the certificate for the websockets API with the error message of:Invalid certificate ARN: arn:aws:acm:us-east-1:xxxxxxxxxxxx:certificate/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. Certificate must be in 'eu-west-1'.
Is there anything that prevents me from using this certificate for a regional endpoint on the AWS side or does the plugin just enforce this? I provide the certificate via
custom.customDomain.certificateArn
.Beta Was this translation helpful? Give feedback.
All reactions