Replies: 3 comments 2 replies
-
Hi! |
Beta Was this translation helpful? Give feedback.
-
Yes, you're absolutely right. There will be a lot of queries. Not only that, the state of the resource will be queried for after each record. You will also have a large Given that you don't need tracking for every address maybe it makes sense to combine MT and TF automation? One way is to generate a list of addresses locally, if it is loaded dynamically, and pass it to MT. Then run a script that will generate https://forum.mikrotik.com/viewtopic.php?t=166293 Through TF you can create a script and schedule, upload a file. |
Beta Was this translation helpful? Give feedback.
-
@mskarbek resource "routeros_system_script" "script" {
...
launch_trigger = timestamp()
} |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a firewall address list with ~80k addresses in it (use case: dropping traffic to some countries based on IP2Location database). What would be the most efficient way to migrate that portion of configuration to Terraform? Currently, I just generate a single RouterOS script and execute it each time I need to update this.
Beta Was this translation helpful? Give feedback.
All reactions