You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Plan (because i set the !wireguard in winbox)
resource "routeros_system_logging" "info" {
id = "*F"
~ topics = [
- "!wireguard",
# (1 unchanged element hidden)
Describe the bug
Unable to exclude a topic in a list of topics. Also at least the topic wireguard is missing.
To Reproduce
resource "routeros_system_logging" "info" {
action = routeros_system_logging_action.syslog.name
prefix = ":Info"
topics = ["info", "!wireguard"]
}
Plan (because i set the !wireguard in winbox)
resource "routeros_system_logging" "info" {
id = "*F"
~ topics = [
- "!wireguard",
# (1 unchanged element hidden)
Gives error:
Error: expected topics.0 to be one of ["account" " bfd" "caps" "ddns" "dns" "error" "gsm" "info" "iscsi" "l2tp" "manager" "ntp" "packet" "pppoe" "radvd" "rip" "script" "smb" "sstp" "system" "timer" "vrrp" "web-proxy" "async" "bgp" "certificate" "debug" "dot1x" "dude" "event" "hotspot" "interface" "isdn" "ldp" "mme" "ospf" "pim" "pptp" "raw" "route" "sertcp" "snmp" "state" "telephony" "upnp" "warning" "wireless" "backup" "calc" "critical" "dhcp" "e-mail" "firewall" "igmp-proxy" "ipsec" "kvm" "lte" "mpls" "ovpn" "ppp" "radius" "read" "rsvp" "simulator" "ssh" "store" "tftp" "ups" "watchdog" "write"], got !wireguard
│
│ with module.terraform-module-mikrotik.routeros_system_logging.info,
│ on .terraform\modules\terraform-module-mikrotik\routeros-system-logging.tf line 28, in resource "routeros_system_logging" "info":
│ 28: topics = ["info", "!wireguard"]
Expected behavior
Update the list of topics
Fix the ! option
** Current Topics in RouterOS 7.15.2. Maybe it is good to replace the list in resource_system_logging.go with this alphabetical one. Will be easier to add a new topic later to the list.
"account", "async", "backup", "bfd", "bgp", "bridge", "calc", "caps", "certificate", "container", "critical", "ddns",
"debug", "dhcp", "dns", "dot1x", "dude", "e-mail", "error", "event", "fetch", "firewall", "gps", "gsm",
"health", "hotspot", "igmp-proxy", "info", "interface", "ipsec", "iscsi", "isdn", "isis", "kvm", "l2tp", "ldp",
"lora", "lte", "manager", "mme", "mpls", "mqtt", "mvrp", "natpmp", "netinstall", "netwatch", "ntp", "ospf",
"ovpn", "packet", "pim", "poe-out", "ppp", "pppoe", "pptp", "queue", "radius", "radvd", "raw", "read",
"rip", "route", "rpki", "rsvp", "script", "sertcp", "simulator", "smb", "snmp", "ssh", "sstp", "state",
"store", "stp", "system", "telephony", "tftp", "timer", "tr069", "update", "upnp", "ups", "vpls", "vrrp",
"warning", "watchdog", "web-proxy", "wireguard", "wireless", "write", "!",
The text was updated successfully, but these errors were encountered: