Revert "filter nulls when shimming a config"

This reverts commit 97bde5467c.
This commit is contained in:
James Bardin
2019-04-02 17:04:09 -04:00
parent f5395bd98a
commit e024960c74
3 changed files with 3 additions and 25 deletions

View File

@@ -1342,7 +1342,8 @@ func validateConfigNulls(v cty.Value, path cty.Path) []*proto.Diagnostic {
if ev.IsNull() {
diags = append(diags, &proto.Diagnostic{
Severity: proto.Diagnostic_ERROR,
Summary: "null value found in list",
Summary: "Null value found in list",
Detail: "Null values are not allowed for this attribute value.",
Attribute: convert.PathToAttributePath(append(path, cty.IndexStep{Key: kv})),
})
continue