Skip to content

Latest commit

 

History

History
52 lines (41 loc) · 3.28 KB

README.md

File metadata and controls

52 lines (41 loc) · 3.28 KB

Requirements

Name Version
linode ~> 1.25.0
wireguard ~> 0.1.3

Providers

Name Version
external 2.2.0
http 2.1.0
linode 1.25.2
random 3.1.0
wireguard 0.1.3

Modules

No modules.

Resources

Name Type
linode_firewall.wireguard resource
linode_instance.wireguard resource
linode_sshkey.wireguard resource
linode_stackscript.wireguard resource
random_string.root_pass resource
wireguard_asymmetric_key.client resource
wireguard_asymmetric_key.server resource
external_external.qr data source
http_http.ip data source
wireguard_config_document.client data source
wireguard_config_document.server data source

Inputs

Name Description Type Default Required
clients Map of client names to ip addresses. Must be in the 10.10.10/24 subnet, and 10.10.10.1 is reserved for the server. map(string)
{
"default": "10.10.10.2"
}
no
linode_token Linode authentication token. string n/a yes
region The wireguard server's desired region. Valid regions at https://www.linode.com/docs/api/regions/#regions-list. string n/a yes
ssh_public_key The SSH key used to access the wireguard server. string n/a yes

Outputs

Name Description
client_config Client configuration.
client_config_qr_codes Client configuration qr codes.