This repository is switched to archive mode, since the main changes have been transferred to the parent repository and all current development will take place in it.
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.19 and ROS 7.5, 7.6, 7.7 (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!