Skip to content

Latest commit

 

History

History
59 lines (48 loc) · 4.51 KB

File metadata and controls

59 lines (48 loc) · 4.51 KB

Requirements

Name Version
tencentcloud ~> 1.61.0
wireguard ~> 0.1.3

Providers

Name Version
cloudinit 2.2.0
external 2.2.0
http 2.1.0
tencentcloud 1.61.13
wireguard 0.1.3

Modules

No modules.

Resources

Name Type
tencentcloud_eip.wireguard resource
tencentcloud_eip_association.wireguard resource
tencentcloud_instance.wireguard resource
tencentcloud_key_pair.wireguard resource
tencentcloud_security_group.wireguard resource
tencentcloud_security_group_rule.egress_tcp resource
tencentcloud_security_group_rule.egress_udp resource
tencentcloud_security_group_rule.ssh resource
tencentcloud_security_group_rule.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
tencentcloud_image.ubuntu 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
region The wireguard server's desired region. Valid regions at https://intl.cloud.tencent.com/document/product/213/6091. string n/a yes
secret_id Tencent secret id. string n/a yes
secret_key Tencent secret key. 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.