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
rules(Attributes Set) The default chain. (siehe verschachteltes Schema)
Optional
channels(Map of Boolean) Delivery switchespush,sms,voice,emailfor new users. Unset = on exactly for the channels the rules use.
Nur lesbar
id(String) Alwaysorg.updated_at(String) Last change of the template.
Verschachteltes Schema für 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 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