:wave: Everyone, I'm experiencing the following er...
# kotless
m
👋 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
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
do we have a way of changing it to point to a different region
t
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
Adding the certificate to us-east-1 solved my problem.
👍 1