Skip to content

Latest commit

 

History

History
69 lines (56 loc) · 5.31 KB

File metadata and controls

69 lines (56 loc) · 5.31 KB

OpenStack

The OpenStack provider was tested with both OVH and DreamCompute. It should work with both v2 and v3 of api.

Requirements

Name Version
openstack ~> 1.47.0
wireguard ~> 0.1.3

Providers

Name Version
cloudinit 2.2.0
external 2.2.0
http 2.1.0
openstack 1.47.0
wireguard 0.1.3

Modules

No modules.

Resources

Name Type
openstack_compute_instance_v2.wireguard resource
openstack_compute_keypair_v2.wireguard resource
openstack_networking_secgroup_rule_v2.egress_tcp resource
openstack_networking_secgroup_rule_v2.egress_udp resource
openstack_networking_secgroup_rule_v2.ssh resource
openstack_networking_secgroup_rule_v2.wireguard resource
openstack_networking_secgroup_v2.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
openstack_compute_availability_zones_v2.zones data source
openstack_images_image_v2.ubuntu data source
wireguard_config_document.client data source
wireguard_config_document.server data source

Inputs

Name Description Type Default Required
auth_url OpenStack auth url. string n/a yes
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
flavor_name OpenStack flavor name (instance type). string n/a yes
image_name OpenStack image name. string "Ubuntu 20.04" no
password OpenStack password. string n/a yes
region The wireguard server's desired region. The OpenStack zone to deploy to, tested with DreamCompute. string n/a yes
ssh_public_key The SSH key used to access the wireguard server. string n/a yes
tenant_id OpenStack tenant id. string n/a yes
tenant_name OpenStack tenant name. string n/a yes
user_name OpenStack user name. string n/a yes

Outputs

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