https://github.com/skibish/terraform-digitalocean-tailscale-exit-node
Tailscale Exit Node provisioning in Digital Ocean
https://github.com/skibish/terraform-digitalocean-tailscale-exit-node
digitalocean example tailscale terraform vpn
Last synced: about 1 year ago
JSON representation
Tailscale Exit Node provisioning in Digital Ocean
- Host: GitHub
- URL: https://github.com/skibish/terraform-digitalocean-tailscale-exit-node
- Owner: skibish
- Created: 2022-06-26T11:14:42.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-12-03T20:08:37.000Z (over 2 years ago)
- Last Synced: 2025-03-30T20:43:09.033Z (about 1 year ago)
- Topics: digitalocean, example, tailscale, terraform, vpn
- Language: HCL
- Homepage:
- Size: 7.81 KB
- Stars: 6
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tailscale Exit Node provisioning in Digital Ocean
This is an example of how Tailscale Exit Node can be provisioned in Digital Ocean with help of the Terraform.
Complimentary [blog post](https://sergeykibish.com/blog/tailscale-based-vpn-on-digitalocean-droplet).
Docs are generated with:
```sh
terraform-docs markdown table --output-file README.md --output-mode inject .
```
## Requirements
| Name | Version |
|------|---------|
| [digitalocean](#requirement\_digitalocean) | ~> 2.0 |
## Providers
| Name | Version |
|------|---------|
| [digitalocean](#provider\_digitalocean) | 2.21.0 |
## Modules
No modules.
## Resources
| Name | Type |
|------|------|
| [digitalocean_droplet.main](https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs/resources/droplet) | resource |
| [digitalocean_firewall.tailscale](https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs/resources/firewall) | resource |
| [digitalocean_ssh_key.main](https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs/resources/ssh_key) | resource |
| [digitalocean_tag.main](https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs/resources/tag) | resource |
## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [do\_token](#input\_do\_token) | Digital Ocean Read & Write token (https://cloud.digitalocean.com/account/api/tokens). | `string` | n/a | yes |
| [ssh\_key](#input\_ssh\_key) | Path to SSH Key file (e.g. $HOME/.ssh/id). | `string` | n/a | yes |
| [ssh\_key\_pub](#input\_ssh\_key\_pub) | Path to SSH Public Key file (e.g. $HOME/.ssh/id.pub). | `string` | n/a | yes |
| [tailscale\_key](#input\_tailscale\_key) | Tailscale Auth Key (https://login.tailscale.com/admin/settings/keys). | `string` | n/a | yes |
## Outputs
No outputs.