keenauth_custom_domain

The keenauth_custom_domain resource adds a custom login domain to the environment. See Set up a custom login domain for what the domain serves and how verification works.

resource "keenauth_custom_domain" "login" {
  hostname = "login.example.com"
}

output "dns_records" {
  value = keenauth_custom_domain.login.dns_records
}

Lifecycle

Import

Import by hostname or by ID:

tofu import keenauth_custom_domain.login login.example.com
tofu import keenauth_custom_domain.login cdom_01j9zq3v8c5m2x7k4t6r1n0b3d