ignition_device Resource
ignition_device (Resource)
Manages a Device (Driver) in Ignition (e.g., Modbus, Siemens, Simulator).
Example Usage
resource "ignition_device" "example" {
name = "Modbus_TCP"
type = "com.inductiveautomation.ModbusTcpDriver"
settings = {
"hostname" = "127.0.0.1"
"port" = 502
"unitId" = 1
}
}
Schema
Required
name(String) The name of the device.parameters(String) The JSON configuration parameters for the device. These vary by device type.type(String) The type of the device (e.g., ‘ModbusTcp’, ‘S71500’, ‘ProgrammableSimulatorDevice’).
Optional
description(String) The description of the device.enabled(Boolean) Whether the device is enabled.
Read-Only
id(String) The ID of this resource.signature(String) The signature of the resource, used for updates and deletes.