From 6732b6713b042e0f13d270fa6689fb1eac24814e Mon Sep 17 00:00:00 2001 From: James Bardin Date: Fri, 26 Oct 2018 14:02:09 -0400 Subject: [PATCH] missed IsNull check in config shim --- terraform/resource.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/resource.go b/terraform/resource.go index 9db0f2ab4..3e87d719b 100644 --- a/terraform/resource.go +++ b/terraform/resource.go @@ -276,7 +276,7 @@ func newResourceConfigShimmedComputedKeys(obj cty.Value, schema *configschema.Bl } blockVal := obj.GetAttr(typeName) - if !blockVal.IsKnown() { + if !blockVal.IsKnown() || blockVal.IsNull() { continue }