This is not official documentation or recommendations for use. Please refer to the provider's official documentation on github or in the registry
- GitHub — OpenVPN/terraform-provider-openvpn-cloud
- Provider — registry.terraform.io
You can use two ways for auth in OpenVPN Cloud.
- Use ENV variables:
export OPENVPN_CLOUD_CLIENT_ID=""
export OPENVPN_CLOUD_CLIENT_SECRET=""
- Configure in provider.tf file.
terraform init
terraform plan
terraform apply
Due to rate limits on OpenVPN Cloud side, we have to limit the number of actions that terraform performs in parallel.
Always use -parallelism=1
with plan and apply commands.
terraform import 'openvpncloud_user.this["USERNAME"]' USERNAME