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
rules(Attributes Set) The default chain. (see below for nested schema)
Optional
channels(Map of Boolean) Delivery switchespush,sms,voice,emailfor new users. Unset = on exactly for the channels the rules use.
Read-Only
id(String) Alwaysorg.updated_at(String) Last change of the template.
Nested Schema for rules
Required:
channel(String)push,sms,voiceoremail.smsandvoicewait until the phone number is verified.delay_minutes(Number) Minutes after the page starts, 0 to 1440.urgency(String)highorlow.
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 orguptimeify_notification_channel
A notification channel of the organization, or of one customer with customer_id. Secrets live in secret_config_wo and never enter the state. An active channel to the same recipient cannot exist twice (409). Website overrides are not managed here. Import with the numeric id.
uptimeify_organization_branding
White-label branding of the organization (one per organization): product name, colors, legal links, logos and favicons. Organization admins only. Destroying it resets name, colors, links and both flags and deletes the four images. Import with any id, e.g. branding; the image files are not imported.