ignition_alarm_journal Resource

ignition_alarm_journal (Resource)

Manages an Alarm Journal in Ignition.

Example Usage

resource "ignition_alarm_journal" "example" {
  name         = "MainJournal"
  type         = "DATASOURCE"
  datasource   = "production_db"
  table_name   = "alarm_events"
  min_priority = "Medium"
}

Schema

Required

  • name (String) The name of the alarm journal.
  • type (String) The type of the alarm journal (DATASOURCE, REMOTE, LOCAL).

Optional

  • datasource (String) The database connection to use (for DATASOURCE type).
  • description (String) The description of the alarm journal.
  • enabled (Boolean) Whether the alarm journal is enabled.
  • min_priority (String) The minimum priority of events to store (Diagnostic, Low, Medium, High, Critical).
  • table_name (String) The table name to store events (for DATASOURCE type).
  • target_journal (String) The alarm journal on the remote gateway (for REMOTE type).
  • target_server (String) The remote gateway name (for REMOTE type).

Read-Only

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