Initial commit

This commit is contained in:
CC
2026-09-12 16:09:40 +00:00
commit 75f91856bc
32 changed files with 1122 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
locals {
vm_data = {
vm_tag_data = {
for k, v in var.instances :
k => {
node_name = v.node_name
vm_name = v.vm_name
tags = v.vm_tags
}
}
}
}
resource "local_file" "vm_data" {
filename = var.filename
content = yamlencode(local.vm_data)
}