Skip to content

Latest commit

 

History

History
51 lines (40 loc) · 3.25 KB

File metadata and controls

51 lines (40 loc) · 3.25 KB

Requirements

Name Version
metal ~> 3.2.0
wireguard ~> 0.1.3

Providers

Name Version
cloudinit 2.2.0
external 2.2.2
http 2.1.0
metal 3.2.2
wireguard 0.1.3

Modules

No modules.

Resources

Name Type
metal_device.wireguard resource
metal_project.wireguard resource
metal_project_ssh_key.wireguard resource
wireguard_asymmetric_key.client resource
wireguard_asymmetric_key.server resource
cloudinit_config.wireguard data source
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
equinix_auth_token Equinix authentication token. string n/a yes
region The wireguard server's desired region. Use Metro code, Valid regions at https://metal.equinix.com/developers/docs/locations/facilities/#facilities-quick-reference. 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.