Skip to content

Latest commit

 

History

History
53 lines (42 loc) · 3.56 KB

README.md

File metadata and controls

53 lines (42 loc) · 3.56 KB

Requirements

Name Version
google ~> 4.11.0
wireguard ~> 0.1.3

Providers

Name Version
external 2.2.0
google 4.11.0
http 2.1.0
wireguard 0.1.3

Modules

No modules.

Resources

Name Type
google_compute_address.wireguard resource
google_compute_firewall.egress resource
google_compute_firewall.ssh resource
google_compute_firewall.wireguard resource
google_compute_instance.wireguard resource
wireguard_asymmetric_key.client resource
wireguard_asymmetric_key.server resource
external_external.qr data source
google_compute_image.ubuntu 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
gcp_auth_file Path to GCP authentication file. string n/a yes
gcp_project GCP project id. string n/a yes
region The wireguard server's desired region. Valid regions at https://cloud.google.com/compute/docs/regions-zones. 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.