Skip to content

Latest commit

 

History

History
53 lines (42 loc) · 3.55 KB

File metadata and controls

53 lines (42 loc) · 3.55 KB

Requirements

Name Version
contabo >= 0.1.22
wireguard ~> 0.1.3

Providers

Name Version
contabo 0.1.22
external 2.3.1
http 3.4.0
wireguard 0.1.3

Modules

No modules.

Resources

Name Type
contabo_instance.wireguard resource
contabo_secret.password resource
contabo_secret.wireguard resource
wireguard_asymmetric_key.client resource
wireguard_asymmetric_key.server resource
contabo_image.ubuntu_22_04 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
oauth2_client_id Your API client ID. string n/a yes
oauth2_client_secret Your API client secret. string n/a yes
oauth2_pass Your account users password. string n/a yes
oauth2_user Your account username [email].. string n/a yes
region The wireguard server's desired region. Valid regions at https://contabo.com/en/locations/, to get region ids use their cli and run cntb get datacenters. 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.