Uptimeify Docs
Ressourcen

uptimeify_customer_domain

Ressource uptimeify_customer_domain: Beispiel, alle Attribute, Import.

Die Beschreibungen auf dieser Seite kommen direkt aus dem Provider-Schema und sind deshalb englisch.

A domain of a customer whose registration expiry is watched over RDAP. The top-level domain must support RDAP. Creating one that already exists with the same values fails; import it instead. Import with the numeric id or the public id.

Beispiel

resource "uptimeify_customer_domain" "shop" {
  customer_id         = tonumber(uptimeify_customer.shop.id)
  domain_name         = "example-shop.com"
  expiry_warning_days = 45
}

Schema

Pflichtfelder

  • customer_id (Number)
  • domain_name (String) Registered domain without protocol, lower case, e.g. example.com.

Optional

  • expiry_error_days (Number) Alert this many days before expiry, 1 to 90.
  • expiry_warning_days (Number) Warn this many days before expiry, 1 to 365.
  • label (String)
  • management_type (String) managed or self_service. Only organization writers choose it; customer-scoped tokens always create self_service entries, everyone else gets managed when unset.
  • status (String) active (checked, counts against the monitor quota) or disabled.

Nur lesbar

  • created_at (String)
  • id (String) Numeric id.
  • public_id (String)
  • updated_at (String)

Import

Import geht so:

Mit tofu import bzw. terraform import, zum Beispiel:

# Numeric id or public id
terraform import uptimeify_customer_domain.shop 9

Auf dieser Seite