This provider allows you to configure Mikrotik routers using old API or REST API, using or not using TLS.
Relative to the original repository, the project structure has been redesigned and support for the old API has been added.
To get started with the provider, include the following in your Terraform manifests:
terraform {
required_providers {
routeros = {
source = "vaerh/routeros"
}
}
}
provider "routeros" {
hosturl = "(https|api|apis)://my.router.local[:port]"
username = "my_username"
password = "my_super_secret_password"
}
For more in-depth documentation about each of the resources and datasources, please read the documentation on Hashicorp's Provider registry
- go 1.17 and ROS 7.5 (stable)
For a detailed changelog, please see the changelog.
This version of the module greatly simplifies the process of adding new resources. You are welcome!