Thread
#kotless
    Moroa Matshubeni

    Moroa Matshubeni

    2 years ago
    👋 Everyone, I'm experiencing the following error when deploying with route53 set,
    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
    function_name = "merged-0"
    TanVD

    TanVD

    2 years ago
    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)
    Moroa Matshubeni

    Moroa Matshubeni

    2 years ago
    do we have a way of changing it to point to a different region
    TanVD

    TanVD

    2 years ago
    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)
    Moroa Matshubeni

    Moroa Matshubeni

    2 years ago
    Adding the certificate to us-east-1 solved my problem.