Uptimeify Docs
Ressourcen

uptimeify_notification_template

Ressource uptimeify_notification_template: Beispiel, alle Attribute, Import.

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

The organization's default Incident Management notification chain (one per organization). It is copied to a user when their personal settings are first created; existing users keep theirs. Destroying switches the template off. Import with any id, e.g. org.

Beispiel

# One per organization: the chain new users start with. Existing users keep theirs.
resource "uptimeify_notification_template" "this" {
  rules = [
    { urgency = "high", delay_minutes = 0, channel = "push" },
    { urgency = "high", delay_minutes = 10, channel = "sms" },
    { urgency = "low", delay_minutes = 0, channel = "email" },
  ]
}

Schema

Pflichtfelder

Optional

  • channels (Map of Boolean) Delivery switches push, sms, voice, email for new users. Unset = on exactly for the channels the rules use.

Nur lesbar

  • id (String) Always org.
  • updated_at (String) Last change of the template.

Verschachteltes Schema für rules

Required:

  • channel (String) push, sms, voice or email. sms and voice wait until the phone number is verified.
  • delay_minutes (Number) Minutes after the page starts, 0 to 1440.
  • urgency (String) high or low.

Import

Import geht so:

Mit tofu import bzw. terraform import, zum Beispiel:

# Any id works: the template belongs to the token's organization.
terraform import uptimeify_notification_template.this org

Auf dieser Seite