Migrate opentofu part
This commit is contained in:
parent
344710e831
commit
f872d2199b
12 changed files with 596 additions and 0 deletions
11
tailscale.tf
Normal file
11
tailscale.tf
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
resource "tailscale_tailnet_key" "cloud_init_key" {
|
||||
reusable = true
|
||||
ephemeral = false
|
||||
preauthorized = true
|
||||
expiry = 3600
|
||||
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