terraform config to deploy a tailscale subnet router on aws and prepare a tailscale network.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
{
|
|
|
|
"groups": {
|
|
|
|
"group:admin": [ %{~ for admin in admins ~} "${admin}@${domain}", %{~ endfor ~} ]
|
|
|
|
},
|
|
|
|
"acls": [
|
|
|
|
{ "action": "accept", "users": ["*"], "ports": ["*:*"] }
|
|
|
|
],
|
|
|
|
"tagOwners": {
|
|
|
|
"${tag}": ["group:admin", "${tag}"]
|
|
|
|
},
|
|
|
|
"autoApprovers": {
|
|
|
|
"routes": {
|
|
|
|
%{~ for route in routes ~}
|
|
|
|
"${route}": ["${tag}"],
|
|
|
|
%{~ endfor ~}
|
|
|
|
},
|
|
|
|
"exitNode": ["${tag}"]
|
|
|
|
},
|
|
|
|
%{~ if enable_ssh ~}
|
|
|
|
"ssh": [
|
|
|
|
{
|
|
|
|
"action": "check",
|
|
|
|
"src": ["autogroup:members"],
|
|
|
|
"dst": ["autogroup:self"],
|
|
|
|
"users": ["autogroup:nonroot", "root"]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
%{~ endif ~}
|
|
|
|
}
|