Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

vaerh/terraform-provider-routeros

 
 

Repository files navigation

Warning

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.

Terraform Provider RouterOS

module testing workflow

Purpose

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.

Using the provider

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

Tested RouterOS versions

  • go 1.19 and ROS 7.5, 7.6, 7.7 (stable)

Changelog

For a detailed changelog, please see the changelog.

Contributing

This version of the module greatly simplifies the process of adding new resources. You are welcome!