From 54fb59baca43676e65310cbb8c537954d0064a33 Mon Sep 17 00:00:00 2001 From: etwillbefine Date: Wed, 2 Sep 2020 19:22:31 +0200 Subject: [PATCH] correct type passed to policy types --- network-policies.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network-policies.tf b/network-policies.tf index b98c923..eb10bf6 100644 --- a/network-policies.tf +++ b/network-policies.tf @@ -23,7 +23,7 @@ resource "kubernetes_network_policy" "allow" { } spec { - policy_types = [var.network_policy_types] + policy_types = var.network_policy_types pod_selector {} ingress {