Uptimeify Docs
Resources

uptimeify_notification_template

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.

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.

Example Usage

# 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

Required

Optional

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

Read-Only

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

Nested Schema for 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 is supported using the following syntax:

The terraform import command can be used, for example:

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

On this page