Terraform for Arista EOS and CloudVision Studios
Automate Arista EOS switches with Terraform: aristanetworks/cvp provider, CloudVision Studios, configlet management, and EVPN fabric automation.
DevOps
Automate MikroTik RouterOS with Terraform: manage firewall rules, VPNs, BGP peers, edge routers, and complex networks declaratively.
Use Terraform to automate MikroTik RouterOS configuration. The community terraform-routeros/routeros provider exposes the REST API for declarative firewall rules, VPN tunnels, BGP peers, DHCP servers, and other edge router resources. This guide covers Terraform patterns for WISPs, small ISPs, branch offices, and hotspot deployments running RouterOS.
terraform {
required_providers {
routeros = {
source = "terraform-routeros/routeros"
version = "~> 1.50"
}
}
}
provider "routeros" {
hosturl = "https://${var.router_ip}"
username = var.username
password = var.password
}resource "routeros_ip_firewall_filter" "drop_inbound" {
chain = "input"
action = "drop"
comment = "drop unsolicited inbound"
in_interface = "ether1-wan"
connection_state = "new"
}resource "routeros_routing_bgp_connection" "transit" {
name = "transit-as12345"
remote_address = "192.0.2.1"
remote_as = "12345"
local_role = "ebgp"
templates = "default"
}resource "routeros_ip_dhcp_server" "lan" {
name = "lan-dhcp"
interface = "bridge-lan"
lease_time = "1d"
address_pool = "lan-pool"
}
resource "routeros_ip_pool" "lan" {
name = "lan-pool"
ranges = "192.168.10.10-192.168.10.250"
}/ip service set www-ssl disabled=no) and use a real cert.admin user from Terraform./system backup save).Automate Arista EOS switches with Terraform: aristanetworks/cvp provider, CloudVision Studios, configlet management, and EVPN fabric automation.
Automate Cisco IOS XE devices with Terraform: ciscodevnet/iosxe provider, RESTCONF/NETCONF, configuration drift management, and CI-driven changes.
Automate Cisco Nexus NX-OS data-center switches with Terraform: VXLAN EVPN, vPC, leaf-spine fabrics, and ACI-adjacent automation.
Automate Juniper Junos devices with Terraform: junipernetworks/junos provider, NETCONF, commit-confirmed workflows, and EVPN-VXLAN fabrics.