Add healthchecksio provider and refactor ip-for-host collection
This commit is contained in:
parent
ed51a86935
commit
6fdfd338a1
14 changed files with 147 additions and 49 deletions
|
|
@ -9,3 +9,9 @@ resource "tailscale_tailnet_key" "cloud_init_key" {
|
|||
data "tailscale_devices" "nodes" {
|
||||
name_prefix = "node"
|
||||
}
|
||||
|
||||
locals {
|
||||
tailscale_devices = {
|
||||
for host in data.tailscale_devices.nodes.devices : host.hostname => host
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue