From 9abc1026011f84dcab355b643b4438dea4dee8a6 Mon Sep 17 00:00:00 2001 From: Karim Naufal Date: Mon, 28 Feb 2022 00:07:31 +0100 Subject: [PATCH] small tweak --- main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.tf b/main.tf index 3ef8b0d..c54204f 100644 --- a/main.tf +++ b/main.tf @@ -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", []) } } }