missed IsNull check in config shim

This commit is contained in:
James Bardin 2018-10-26 14:02:09 -04:00
parent c7c6f6efba
commit 6732b6713b
1 changed files with 1 additions and 1 deletions

View File

@ -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
}