Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 810 Bytes

mikrotik.md

File metadata and controls

18 lines (11 loc) · 810 Bytes

Use with Mikrotik

This provider uses the terraform-provider-mikrotik. The terraformer provider was built by Dom Del Nano.

Example:

## Warning! You should not expose your mikrotik creds through your bash history. Export them to your shell in a safe way when doing this for real!

MIKROTIK_HOST=router-hostname:8728 MIKROTIK_USER=username MIKROTIK_PASSWORD=password terraformer  import mikrotik -r=dhcp_lease

# Import only static IPs
MIKROTIK_HOST=router-hostname:8728 MIKROTIK_USER=username MIKROTIK_PASSWORD=password terraformer  import mikrotik -r=dhcp_lease --filter='Name=dynamic;Value=false'

List of supported mikrotik resources:

  • mikrotik_dhcp_lease