Skip to content

Commit 8526ddf

Browse files
committed
fix var
1 parent 3443734 commit 8526ddf

File tree

1 file changed

+2
-0
lines changed
  • modules/terraform-libvirt-network

1 file changed

+2
-0
lines changed

modules/terraform-libvirt-network/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ data "libvirt_network_dns_host_template" "hosts" {
8080
}
8181

8282
data "libvirt_network_dns_srv_template" "srv_records" {
83+
count = length(var.network_dns_srv_records)
84+
8385
service = var.network_dns_srv_records[count.index].service
8486
protocol = var.network_dns_srv_records[count.index].protocol
8587
domain = var.network_dns_srv_records[count.index].domain

0 commit comments

Comments
 (0)