We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Unknown()
Null()
attr.Value
1 parent bdf02ef commit a43e57bCopy full SHA for a43e57b
attr/value.go
@@ -13,11 +13,16 @@ type Value interface {
13
// Type returns the Type that created the Value.
14
Type(context.Context) Type
15
16
- // ToTerraformValue returns the data contained in the Value as
17
- // a tftypes.Value.
+ // ToTerraformValue returns the data contained in the Value as a tftypes.Value.
18
ToTerraformValue(context.Context) (tftypes.Value, error)
19
20
// Equal must return true if the Value is considered semantically equal
21
// to the Value passed as an argument.
22
Equal(Value) bool
+
23
+ // Unknown returns true if the Value is not known.
24
+ Unknown() bool
25
26
+ // Null returns true if the Value is null.
27
+ Null() bool
28
}
0 commit comments