Skip to content

Latest commit

 

History

History
62 lines (49 loc) · 3.98 KB

File metadata and controls

62 lines (49 loc) · 3.98 KB

CloudStack

The CloudStack provider was tested with Exoscale.

Requirements

Name Version
cloudstack ~> 0.4.0
wireguard ~> 0.1.3

Providers

Name Version
cloudinit 2.2.0
cloudstack 0.4.0
external 2.2.0
http 2.1.0
wireguard 0.1.3

Modules

No modules.

Resources

Name Type
cloudstack_instance.wireguard resource
cloudstack_security_group.wireguard resource
cloudstack_security_group_rule.wireguard resource
cloudstack_ssh_keypair.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
wireguard_config_document.client data source
wireguard_config_document.server data source

Inputs

Name Description Type Default Required
api_key Cloudstack access key. string n/a yes
api_url Cloudstack api 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
region The wireguard server's desired region. The cloudstack zone to deploy to. string n/a yes
secret_key Cloudstack secret key. string n/a yes
service_offering Cloudstack service offering (instance type). string n/a yes
ssh_public_key The SSH key used to access the wireguard server. string n/a yes
template Cloudstack template (image). string "Linux Ubuntu 20.04 LTS 64-bit" no

Outputs

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