Remove DO token variable. Update readme and provisioner
This commit is contained in:
19
README.md
19
README.md
@ -1,3 +1,20 @@
|
||||
# wireguard-terraform-digitalocean
|
||||
|
||||
Example of creating a wireguard VPN on DO using Terraform.
|
||||
Example of creating a wireguard VPN on DO using Terraform.
|
||||
|
||||
## Setup
|
||||
First create an `ssh key` to use with this example:
|
||||
```shell
|
||||
ssh-keygen -t rsa -C "WireguardVPN" -f ./tf-digitalocean -q -N ""
|
||||
```
|
||||
|
||||
Next export your DigitalOcean Access token:
|
||||
```shell
|
||||
export DIGITALOCEAN_ACCESS_TOKEN=dop_v1_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
```
|
||||
|
||||
Finally run the Terraform
|
||||
```shell
|
||||
terraform init
|
||||
terraform apply -auto-approve
|
||||
```
|
Reference in New Issue
Block a user