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.
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.
Example Usage
# The TXT record from uptimeify_status_page_domain, published with your DNS provider.
resource "dns_txt_record_set" "acme_status" {
zone = "acme.example."
name = trimsuffix(uptimeify_status_page_domain.acme.verification_record.name, ".acme.example")
txt = [uptimeify_status_page_domain.acme.verification_record.value]
ttl = 300
}
# Verifies the TXT record and activates the domain once. Fails (no retry) while the
# record is not visible yet; apply again after DNS has propagated.
resource "uptimeify_status_page_domain_activation" "acme" {
domain_id = tonumber(uptimeify_status_page_domain.acme.id)
depends_on = [dns_txt_record_set.acme_status]
}Schema
Required
domain_id(Number)uptimeify_status_page_domain.<name>.idas number.
Read-Only
id(String) Same asdomain_id.status(String)activeafter a successful run.
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_activation.acme 7uptimeify_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.
uptimeify_status_page_maintenance
A planned maintenance announced on one or more status pages, optionally for some of their components. It starts and ends by itself at scheduled_for/scheduled_until and notifies subscribers as configured; creating it announces it right away when notify_on_schedule is true. It does not silence monitor alerts (that is uptimeify_maintenance_window). Ending a running maintenance early and cancelling an upcoming one are lifecycle actions outside this resource (dashboard, API or MCP); a cancelled maintenance refuses further changes, so change the configuration only after removing or replacing it. Import with the numeric id or the public id.