ignition_smtp_profile Resource

ignition_smtp_profile (Resource)

Manages an SMTP Email Profile in Ignition.

Example Usage

resource "ignition_smtp_profile" "example" {
  name              = "PrimarySMTP"
  hostname          = "smtp.gmail.com"
  port              = 587
  use_ssl_port      = false
  start_tls_enabled = true
  username          = "alerts@example.com"
  password          = "supersecret"
}

Schema

Required

  • hostname (String) Hostname of the SMTP server.
  • name (String) The name of the SMTP profile.

Optional

  • description (String) The description of the SMTP profile.
  • enabled (Boolean) Whether the SMTP profile is enabled.
  • password (String, Sensitive) The password for logging into the email server.
  • port (Number) Port SMTP service is running on.
  • start_tls_enabled (Boolean) Connect using STARTTLS.
  • use_ssl_port (Boolean) Connect using dedicated SSL/TLS port.
  • username (String) The username for logging into the email server.

Read-Only

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