module "vm" { source = "git::https://your-git-server/infra/modules/proxmox_ubuntu_cloudinit.git//?ref=v1.0.0" vm_name = var.vm_name node_name = var.node_name node_datastore = var.node_datastore bridge = var.bridge vm_cpu = var.vm_cpu vm_ram = var.vm_ram vm_size = var.vm_size vm_bios = var.vm_bios vm_machine = var.vm_machine vm_tags = local.all_tags vm_user_sshkey = var.vm_user_sshkey } locals { ip_tag = "ip-${replace(module.vm.vm_ipv4_address, ".", "-")}" all_tags = concat(var.vm_tags, ["terraform", "docker"], [local.ip_tag]) }