ignition_opc_ua_connection Resource

ignition_opc_ua_connection (Resource)

Manages an OPC UA Connection in Ignition.

Example Usage

resource "ignition_opc_ua_connection" "example" {
  name = "LocalOPCUA"
  type = "com.inductiveautomation.OpcUaServerType"
  endpoint = {
    discovery_url   = "opc.tcp://localhost:4096"
    endpoint_url    = "opc.tcp://localhost:4096"
    security_policy = "http://opcfoundation.org/UA/SecurityPolicy#None"
    security_mode   = "None"
  }
}

Schema

Required

  • discovery_url (String) The discovery URL of the OPC UA server.
  • endpoint_url (String) The endpoint URL of the OPC UA server.
  • name (String) The name of the OPC UA connection.
  • security_mode (String) The security mode to use (e.g., None, SignAndEncrypt).
  • security_policy (String) The security policy to use (e.g., None, Basic256Sha256).

Optional

  • description (String) The description of the OPC UA connection.
  • enabled (Boolean) Whether the OPC UA connection is enabled.
  • type (String) The type of the OPC UA connection (e.g., com.inductiveautomation.OpcUaServerType).

Read-Only

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