mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
feat(tf): tailscale
This commit is contained in:
parent
ff688fb97a
commit
a618279fed
10 changed files with 111 additions and 22 deletions
21
tf/tailscale_provider.tf
Normal file
21
tf/tailscale_provider.tf
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
variable "tailscale_oauth_client_id" {
|
||||
type = string
|
||||
sensitive = false
|
||||
}
|
||||
|
||||
variable "tailscale_oauth_client_secret" {
|
||||
type = string
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "tailscale_tailnet" {
|
||||
type = string
|
||||
sensitive = false
|
||||
default = "gensokyo.zone"
|
||||
}
|
||||
|
||||
provider "tailscale" {
|
||||
oauth_client_id = var.tailscale_oauth_client_id
|
||||
oauth_client_secret = var.tailscale_oauth_client_secret
|
||||
tailnet = var.tailscale_tailnet
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue