Skip to main content
Updated October 19, 2026 Manages a custom domain on a web app. Terraform adds the domain and exports the two DNS records to create at your DNS provider: a CNAME that points the domain at the app, and a TXT record that proves you own it. Once both exist, verification and the TLS certificate run automatically. Terraform does not wait for verification: status shows its progress at the next refresh.

Example

Argument reference

Changing any argument replaces the domain. Destroying the resource removes the domain from the app.

Attribute reference (computed)

Import

The domain ID is in raff apps domains list <app-id>.
Last modified on October 19, 2026