I have managed to move a static website to rubyonjets and it deploys great onto lambda with an api endpoint like such XXXXXXX.execute-api.ap-southeast-1.amazonaws.com/prod
I need now to configure Route 53 to point my domain to this endpoint via a CNAME or A record but am unable to do so because the endpoint has a subdirectory “/prod” on it.
Am reading the documentation and it looks like I am supposed to specify on the application.rb
config.domain.hosted_zone_name = “mydomain”
config.domain.name = “mydomain”
config.domain.cert_arn = “certkey generated by Amazon Certificate Manager”
I tried deploying and it failed with the message “Currently in UPDATE_ROLLBACK_IN_PROGRESS with reason: The following resource(s) failed to create: [DomainName]”
Please someone tell me I am missing something crucial in my understanding.