Skip to content

terraform-routeros/terraform-module-wireguard

Repository files navigation

Requirements

Name Version
terraform >=1.3.0
routeros >= 1.0.9

Providers

Name Version
routeros >= 1.0.9

Modules

No modules.

Resources

Name Type
routeros_interface_wireguard.wg resource
routeros_interface_wireguard_peer.peer resource
routeros_ip_address.ipv4 resource
routeros_ipv6_address.ipv6 resource

Inputs

Name Description Type Default Required
interface_address_ipv4 n/a string null no
interface_address_ipv6 n/a string null no
interface_name n/a string "wg0" no
interface_port n/a number 13231 no
peers n/a
list(object({
endpoint_host = optional(string)
endpoint_port = optional(number)
public_key = string
allowed_addresses = list(string)
}))
n/a yes

Outputs

Name Description
interface_id n/a
interface_public_key n/a

About

A module to configure a wireguard interface and peers

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages