Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

I’m building my infrastructure with Terraform.
I declared a digitalocean_domain:
resource "digitalocean_domain" "royllo_domain" {
name = "royllo.org"
}
and then, I have my digitalocean_app:
resource “digitalocean_app” “royllo_explorer_api_server” {
resource "digitalocean_app" "royllo_explorer_api_server" {
spec {
...
domain {
name = "api.explorer.royllo.org"
}
...
}
}
The app is deployed correcty and I can access it with its ingress address.
The live URL in digital ocean panel is correct: api.explorer.royllo.org
But when I try to access api.explorer.royllo.org, it doesn’t work and when doing dig royllo.org any there is not DNS record for my App…
What am I missing ?
I thought setting domain {} would be enough.
I also tried to create a digitalocean_record but i don’t know what to set in the value parameter as app doesn’t seem to return an IP
a6309a057c3f4cb38fb2e7feb67236
KFSys
ef1ed44cc2154be3bcbb2d727878f8
Devs Neonetworks
1e6b823ea20d4cb189a34a922f5588
Telmo Valverde
erik-jan martens
Henry Mui
anthonycarreon
garantieheld
Marin