small tweak

This commit is contained in:
Karim Naufal 2022-02-28 00:07:31 +01:00
parent 852a3f30c1
commit 9abc102601

View File

@ -30,8 +30,8 @@ resource "hcloud_firewall" "k3s" {
direction = rule.value.direction
protocol = rule.value.protocol
port = lookup(rule.value, "port", null)
destination_ips = lookup(rule.value, "destination_ips", null)
source_ips = lookup(rule.value, "source_ips", null)
destination_ips = lookup(rule.value, "destination_ips", [])
source_ips = lookup(rule.value, "source_ips", [])
}
}
}