mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-04-27 09:01:38 -04:00
Revert "filter nulls when shimming a config"
This reverts commit 97bde5467c.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user