vault-setup #10

Merged
torjus merged 7 commits from vault-setup into master 2026-02-02 15:28:58 +00:00
2 changed files with 33 additions and 33 deletions
Showing only changes of commit b6f1e80c2a - Show all commits

View File

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