Use this resource to configure Nexus' mailing behaviour
resource "nexus_mail_config" "config" {
port = 25
host = "examplehost.org"
from_address = "from@examplehost.org"
enabled = true
username = "uname"
password = "topsecret"
subject_prefix = "prefix: "
start_tls_enabled = true
start_tls_required = true
ssl_on_connect_enabled = true
nexus_trust_store_enabled = true
}
from_address
(String) fromAddresshost
(String) hostnameport
(Number) portenabled
(Boolean) Whether the config is enabled or notnexus_trust_store_enabled
(Boolean) SSL on connect enabledpassword
(String, Sensitive) Passwordssl_on_connect_enabled
(Boolean) SSL on connect enabledssl_server_identity_check_enabled
(Boolean) SSL on connect enabledstart_tls_enabled
(Boolean) Star TLS Enabledstart_tls_required
(Boolean) Star TLS requiredsubject_prefix
(String) Subject prefixusername
(String) UsernameImport is supported using the following syntax:
# import using the userid of the user
terraform import nexus_mail_config.config cfg