This is an example of how Tailscale Exit Node can be provisioned in Digital Ocean with help of the Terraform. Complimentary blog post.
Docs are generated with:
terraform-docs markdown table --output-file README.md --output-mode inject .| Name | Version |
|---|---|
| digitalocean | ~> 2.0 |
| Name | Version |
|---|---|
| digitalocean | 2.21.0 |
No modules.
| Name | Type |
|---|---|
| digitalocean_droplet.main | resource |
| digitalocean_firewall.tailscale | resource |
| digitalocean_ssh_key.main | resource |
| digitalocean_tag.main | resource |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| do_token | Digital Ocean Read & Write token (https://cloud.digitalocean.com/account/api/tokens). | string |
n/a | yes |
| ssh_key | Path to SSH Key file (e.g. $HOME/.ssh/id). | string |
n/a | yes |
| ssh_key_pub | Path to SSH Public Key file (e.g. $HOME/.ssh/id.pub). | string |
n/a | yes |
| tailscale_key | Tailscale Auth Key (https://login.tailscale.com/admin/settings/keys). | string |
n/a | yes |
No outputs.