Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 2.07 KB

File metadata and controls

50 lines (35 loc) · 2.07 KB

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.

Docs are generated with:

terraform-docs markdown table --output-file README.md --output-mode inject .

Requirements

Name Version
digitalocean ~> 2.0

Providers

Name Version
digitalocean 2.21.0

Modules

No modules.

Resources

Name Type
digitalocean_droplet.main resource
digitalocean_firewall.tailscale resource
digitalocean_ssh_key.main resource
digitalocean_tag.main resource

Inputs

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

Outputs

No outputs.