Skip to content

Latest commit

 

History

History
63 lines (52 loc) · 4.89 KB

README.md

File metadata and controls

63 lines (52 loc) · 4.89 KB

Requirements

Name Version
ibm ~> 1.38.0
wireguard ~> 0.1.3

Providers

Name Version
cloudinit 2.2.0
external 2.2.0
http 2.1.0
ibm 1.38.2
wireguard 0.1.3

Modules

No modules.

Resources

Name Type
ibm_is_floating_ip.wireguard resource
ibm_is_instance.wireguard resource
ibm_is_security_group.wireguard resource
ibm_is_security_group_rule.egress_tcp resource
ibm_is_security_group_rule.egress_udp resource
ibm_is_security_group_rule.ssh resource
ibm_is_security_group_rule.wireguard resource
ibm_is_ssh_key.wireguard resource
ibm_is_subnet.wireguard resource
ibm_is_vpc.wireguard resource
ibm_is_vpc_address_prefix.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
ibm_is_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
iaas_classic_api_key The classic api key. string n/a yes
iaas_classic_username the classic username. string n/a yes
ibmcloud_api_key The api key. string n/a yes
region The wireguard server's desired region. Valid regions at https://cloud.ibm.com/docs/overview?topic=overview-locations . string n/a yes
ssh_public_key The SSH key used to access the wireguard server. string n/a yes
subnet_cidr_block The subnet cidr block to use. string "10.0.1.0/24" no

Outputs

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