Name | Description | Type | Default | Required |
---|---|---|---|---|
accept_dns | Accept DNS configuration from Tailscale | bool |
true |
no |
accept_routes | Accept routes from Tailscale | bool |
false |
no |
additional_parts | Additional user defined part blocks for the cloudinit_config data source | list(object({ |
[] |
no |
advertise_connector | Advertise this node as an app connector | bool |
false |
no |
advertise_exit_node | Offer to be an exit node for internet traffic for the tailnet | bool |
false |
no |
advertise_routes | Routes to advertise to other nodes | list(string) |
[] |
no |
advertise_tags | ACL tags to request; each must start with 'tag:' (e.g. 'tag:eng,tag:montreal,tag:ssh') | list(string) |
[] |
no |
auth_key | Node authorization key; if it begins with 'file:', then it's a path to a file containing the authkey | string |
n/a | yes |
base64_encode | Whether to base64 encode the cloud-init data | bool |
true |
no |
enable_ssh | Enable SSH access via Tailscale | bool |
false |
no |
exit_node | Tailscale exit node (IP or base name) for internet traffic | string |
"" |
no |
exit_node_allow_lan_access | Allow direct access to the local network when routing traffic via an exit node | bool |
false |
no |
force_reauth | force reauthentication | bool |
false |
no |
gzip | Whether to gzip the cloud-init data | bool |
false |
no |
hostname | Hostname of the instance | string |
"" |
no |
json | output in JSON format | bool |
false |
no |
login_server | base URL of control server | string |
"https://controlplane.tailscale.com" |
no |
max_retries | maximum number of retries to connect to the control server | number |
3 |
no |
netfilter_mode | netfilter mode | string |
"on" |
no |
operator | Unix username to allow to operate on tailscaled without sudo | string |
"" |
no |
reset | reset unspecified settings to their default values | bool |
false |
no |
retry_delay | delay in seconds between retries to connect to the control server | number |
5 |
no |
shields_up | don't allow incoming connections | bool |
false |
no |
snat_subnet_routes | source NAT traffic to local routes advertised with --advertise-routes | bool |
true |
no |
stateful_filtering | apply stateful filtering to forwarded packets | bool |
false |
no |
timeout | maximum amount of time to wait for tailscaled to enter a Running state | string |
"0s" |
no |
track | Version of the Tailscale client to install | string |
"stable" |
no |
No modules.
Name | Description |
---|---|
rendered | n/a |
Name | Version |
---|---|
cloudinit | >= 2.0 |
Name | Version |
---|---|
terraform | >= 1.0 |
cloudinit | >= 2.0 |
Name | Type |
---|---|
cloudinit_config.main | data source |