Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resource_system_logging missing topics and excluding #518

Closed
durandguru opened this issue Jul 31, 2024 · 1 comment
Closed

resource_system_logging missing topics and excluding #518

durandguru opened this issue Jul 31, 2024 · 1 comment
Labels
bug Something isn't working released

Comments

@durandguru
Copy link
Contributor

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", "!",

@durandguru durandguru added the bug Something isn't working label Jul 31, 2024
@vaerh vaerh closed this as completed in 2805dc3 Aug 2, 2024
@vaerh
Copy link
Collaborator

vaerh commented Aug 2, 2024

🎉 This issue has been resolved in version 1.58.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@vaerh vaerh added the released label Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

No branches or pull requests

2 participants