ignition_alarm_notification_profile Resource

ignition_alarm_notification_profile (Resource)

Manages an Alarm Notification Profile in Ignition.

Example Usage

resource "ignition_alarm_notification_profile" "example" {
  name = "ProductionEmail"
  type = "email"
  settings = {
    "smtp_profile" = "PrimarySMTP"
  }
}

Schema

Required

  • name (String) The name of the alarm notification profile.
  • type (String) The type of the alarm notification profile (e.g., EmailNotificationProfileType).

Optional

  • description (String) The description of the alarm notification profile.
  • email_config (Block, Optional) Configuration for Email Notification Profiles. (see below for nested schema)
  • enabled (Boolean) Whether the alarm notification profile is enabled.

Read-Only

  • id (String) The ID of this resource.
  • signature (String) The signature of the resource, used for updates and deletes.

Nested Schema for email_config

Required:

  • use_smtp_profile (Boolean) Whether to use an existing SMTP profile.

Optional:

  • email_profile (String) The name of the SMTP profile to use (if use_smtp_profile is true).
  • hostname (String) SMTP Server Hostname (if use_smtp_profile is false).
  • password (String, Sensitive) SMTP Password (if use_smtp_profile is false).
  • port (Number) SMTP Server Port (if use_smtp_profile is false).
  • ssl_enabled (Boolean) Enable SSL/TLS (if use_smtp_profile is false).
  • username (String) SMTP Username (if use_smtp_profile is false).