https://kotlinlang.org logo
m

Moroa Matshubeni

08/31/2020, 1:03 PM
👋 Everyone, I'm experiencing the following error when deploying with route53 set,
Copy code
Error: No certificate for domain "<http://test.example.co.za|test.example.co.za>" found in this region
a certificate has been isssued to example.co.za. Another issue is how do i override the function name, at the moment
Copy code
function_name = "merged-0"
t

TanVD

08/31/2020, 1:42 PM
To add prefix to name of function you can use
prefix
field in
Kotless
config (https://github.com/JetBrains/kotless/blob/master/examples/ktor/shortener/build.gradle.kts#L22) BTW, starting with
0.1.6
names should be a bit better. As for certificate, you need ACM certificate in
us-east-1
with name of your application as primary DNS name.
us-east-1
is a requirement of AWS, not Kotless)
m

Moroa Matshubeni

08/31/2020, 6:59 PM
do we have a way of changing it to point to a different region
t

TanVD

08/31/2020, 8:03 PM
You mean certificate? As far as I know certificate for APIGateway can be created only in us-east-1. Certificates from other regions are not compatible with APIGateway. So, if this limitation was not removed — it is not possible to change region)
m

Moroa Matshubeni

09/01/2020, 9:14 PM
Adding the certificate to us-east-1 solved my problem.
👍 1
5 Views