Move terraform files into modules
This commit is contained in:
parent
4e495dbc51
commit
bae9fe9e0f
14 changed files with 286 additions and 104 deletions
11
tailscale.tf
11
tailscale.tf
|
|
@ -1,11 +0,0 @@
|
|||
resource "tailscale_tailnet_key" "cloud_init_key" {
|
||||
reusable = true
|
||||
ephemeral = false
|
||||
preauthorized = true
|
||||
expiry = 21600 # 6 hours
|
||||
description = "Cloud-init key used by opentofu"
|
||||
}
|
||||
|
||||
data "tailscale_devices" "nodes" {
|
||||
name_prefix = "node"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue