uptimeify_status_page_domain
A custom domain of a status page (at most one per page). Creating it registers the hostname as pending; nothing is verified or activated here. To go live: Publish the TXT record verification_record.name with the value verification_record.value in your DNS zone, and point the hostname (CNAME) at your Uptimeify status page host.Verify and activate: uptimeify_status_page_domain_activation (runs verify + activate once), or POST /api/status-pages/domains/verify and .../activate with {"domainId": <id>}. status is read from the API: pending, verified or active. Deleting the status page deletes its domain. Import with the numeric domain id.
A custom domain of a status page (at most one per page). Creating it registers the hostname as pending; nothing is verified or activated here. To go live:
- Publish the TXT record
verification_record.namewith the valueverification_record.valuein your DNS zone, and point the hostname (CNAME) at your Uptimeify status page host. - Verify and activate:
uptimeify_status_page_domain_activation(runs verify + activate once), orPOST /api/status-pages/domains/verifyand.../activatewith{"domainId": <id>}.
status is read from the API: pending, verified or active. Deleting the status page deletes its domain. Import with the numeric domain id.
Example Usage
resource "uptimeify_status_page_domain" "acme" {
status_page_id = tonumber(uptimeify_status_page.acme.id)
hostname = "status.acme.example"
}
# Publish this TXT record in your DNS zone (any DNS provider), e.g.:
output "acme_status_txt" {
value = uptimeify_status_page_domain.acme.verification_record
}Schema
Required
hostname(String) Lowercase hostname, e.g.status.example.com. Changing it replaces the domain.status_page_id(Number) Numeric status page id. Changing it replaces the domain.
Read-Only
created_at(String)id(String) Numeric domain id.last_verification_error(String) JSON diagnosis of the last failed TXT verification (recordName,expected,lookup,observed,nameservers,authoritative,propagation), decode withjsondecode(); null when the last verification succeeded or none failed yet.last_verification_error_at(String) Whenlast_verification_errorhappened (RFC 3339).status(String)pending,verifiedoractive.verification_record(Attributes) DNS TXT record that proves control of the hostname. (see below for nested schema)verified_at(String)
Nested Schema for verification_record
Read-Only:
name(String) Name of the TXT record.value(String) Value of the TXT record.
Import
Import is supported using the following syntax:
The terraform import command can be used, for example:
# Numeric domain id
terraform import uptimeify_status_page_domain.acme 17uptimeify_status_page_design
The design of one status page (one per page). Unset arguments keep their current value; removing an argument from the configuration does not reset it. Destroying the resource resets the whole design to the defaults. Every option with examples: Status page design https://docs.uptimeify.io/status-pages/design. Import with the numeric status page id.
uptimeify_status_page_domain_activation
Verifies a status page domain's DNS TXT record and activates the domain, once. Create fails with the API's answer when the TXT record is not visible yet; publish it (see uptimeify_status_page_domain) and apply again. There is no waiting or retrying. Needs an organization admin token. When the domain is no longer active (e.g. a later re-verification failed), the next plan runs verify + activate again. Destroying this resource does not deactivate the domain; destroy the uptimeify_status_page_domain for that. Import with the domain id.