### Configure RouterOS Provider in Terraform Source: https://registry.terraform.io/providers/terraform-routeros/routeros/latest/docs/index This snippet shows the basic Terraform configuration required to use the RouterOS provider. It includes setting up the required provider source and defining the provider block with authentication details like host URL, username, and password. Environment variables can also be used for sensitive information. ```Terraform terraform { required_providers { routeros = { source = "terraform-routeros/routeros" } } } provider "routeros" { hosturl = "https://router.local" # env ROS_HOSTURL or MIKROTIK_HOST username = "admin" # env ROS_USERNAME or MIKROTIK_USER password = "" # env ROS_PASSWORD or MIKROTIK_PASSWORD ca_certificate = "/path/to/ca/certificate.pem" # env ROS_CA_CERTIFICATE or MIKROTIK_CA_CERTIFICATE insecure = true # env ROS_INSECURE or MIKROTIK_INSECURE } ``` -------------------------------- ### Define RouterOS GRE Interface Resource Source: https://registry.terraform.io/providers/terraform-routeros/routeros/latest/docs/index This Terraform code defines a GRE (Generic Routing Encapsulation) interface resource for a MikroTik router using the RouterOS provider. It specifies the interface name and its remote address, with an option to initially disable the interface. ```Terraform resource "routeros_interface_gre" "gre_hq" { name = "gre-hq-1" remote_address = "10.77.3.26" disabled = true } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.