Skip to content

Latest commit

 

History

History
63 lines (52 loc) · 4.95 KB

README.md

File metadata and controls

63 lines (52 loc) · 4.95 KB

Requirements

Name Version
oci ~> 4.64.0
wireguard ~> 0.1.3

Providers

Name Version
cloudinit 2.2.0
external 2.2.0
http 2.1.0
oci 4.64.0
wireguard 0.1.3

Modules

No modules.

Resources

Name Type
oci_core_default_route_table.wireguard resource
oci_core_instance.wireguard resource
oci_core_internet_gateway.wireguard resource
oci_core_public_ip.wireguard resource
oci_core_security_list.wireguard resource
oci_core_subnet.wireguard resource
oci_core_vcn.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
oci_core_images.ubuntu_focal data source
oci_core_private_ips.wireguard data source
oci_core_vnic.wireguard data source
oci_core_vnic_attachments.wireguard data source
oci_identity_availability_domains.wireguard data source
oci_identity_compartment.default 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
config_file_profile The named config file profile. string "DEFAULT" no
region The wireguard server's desired region. Valid regions at https://docs.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm. string n/a yes
ssh_public_key The SSH key used to access the wireguard server. string n/a yes
tenancy_ocid OCID of your root tenancy. string n/a yes
vpc_cidr_block The vpc cidr block to use. string "10.1.0.0/16" no

Outputs

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