chore: run tofu fmt
This commit is contained in:
@@ -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
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user