Add healthchecksio provider and refactor ip-for-host collection

This commit is contained in:
Tobias Reisinger 2024-10-06 17:08:25 +02:00
parent ed51a86935
commit 6fdfd338a1
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
14 changed files with 147 additions and 49 deletions

View file

@ -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
}
}