chore: run tofu fmt

This commit is contained in:
2026-02-01 23:04:02 +01:00
parent 4133eafc4e
commit b6f1e80c2a
2 changed files with 33 additions and 33 deletions

View File

@@ -25,8 +25,8 @@ resource "proxmox_cloud_init_disk" "ci" {
: ""} : ""}
EOT EOT
# Network configuration - static IP or DHCP # Network configuration - static IP or DHCP
network_config = each.value.ip != null ? yamlencode({ network_config = each.value.ip != null ? yamlencode({
version = 1 version = 1
config = [{ config = [{
type = "physical" type = "physical"
@@ -48,11 +48,11 @@ resource "proxmox_cloud_init_disk" "ci" {
type = "dhcp" type = "dhcp"
}] }]
}] }]
}) })
# Instance metadata # Instance metadata
meta_data = yamlencode({ meta_data = yamlencode({
instance_id = sha1(each.key) instance_id = sha1(each.key)
local-hostname = each.key local-hostname = each.key
}) })
} }