Closed starverdiyev closed 2 years ago
Hi, If you want to create a domain you now need to specify an sni_endpoint param, but it can be null: heroku_client.domain.create(hostname: "example.com", sni_endpoint: null)
. See https://devcenter.heroku.com/articles/platform-api-reference#domain-create for reference.
If you want to have a custom cert on your app you will need to pass in a certificate and key: heroku_client.sni_endpoint.create(heroku_app_name, hostname: "example.com", certificate_chain: "chain data", private_key: "key data")
. See https://devcenter.heroku.com/articles/platform-api-reference#sni-endpoint-create for reference.
@mikehale yes thanks, I found a solution, but not null, it must be nil: sni_endpoint: nil
Hello,
Use heroku_client.domain.create to create custom domains for review apps, but faced with error:
{"id"=>"invalid_params", "message"=>"Require params: sni_endpoint."}
After checked, see that this is new heroku requirement from 2021 years
In source code of this repository find
heroku_client.sni_endpoint.create
. But i faced with new error:)What I do wrong?) Thank you!