Initial commit

This commit is contained in:
CC
2026-06-17 13:52:04 +00:00
commit 4f3fe682d6
35 changed files with 1364 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)
}