wip
This commit is contained in:
@@ -4,3 +4,23 @@ data "proxmox_virtual_environment_node" "hvc01" {
|
||||
for_each = toset(data.proxmox_virtual_environment_nodes.hvc01.names)
|
||||
node_name = each.value
|
||||
}
|
||||
|
||||
data "dns_a_record_set" "cluster_api" {
|
||||
host = local.cluster_fqdn
|
||||
}
|
||||
|
||||
data "dns_a_record_set" "guests" {
|
||||
for_each = [ for guest in var.vm_guests: "${guest.name}.${var.local_domain}" ]
|
||||
host = each.value
|
||||
}
|
||||
|
||||
data "dns_aaaa_record_set" "guests" {
|
||||
for_each = [ for guest in var.vm_guests: "${guest.name}.${var.local_domain}" ]
|
||||
host = each.value
|
||||
}
|
||||
|
||||
data "dns_aaaa_record_set" "cluster_api" {
|
||||
host = local.cluster_fqdn
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user