mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
optional attrs should not be in ProposedNew
This commit is contained in:
parent
af4f4540a9
commit
43123d284e
@ -1452,12 +1452,12 @@ func TestProposedNew(t *testing.T) {
|
||||
"map": cty.NullVal(cty.Map(cty.Object(map[string]cty.Type{"bar": cty.String}))),
|
||||
"set": cty.NullVal(cty.Set(cty.Object(map[string]cty.Type{"bar": cty.String}))),
|
||||
"nested_map": cty.NullVal(cty.Map(cty.Object(map[string]cty.Type{
|
||||
"inner": cty.ObjectWithOptionalAttrs(map[string]cty.Type{
|
||||
"inner": cty.Object(map[string]cty.Type{
|
||||
"optional": cty.String,
|
||||
"computed": cty.String,
|
||||
"optional_computed": cty.String,
|
||||
"required": cty.String,
|
||||
}, []string{"computed", "optional", "optional_computed"}),
|
||||
}),
|
||||
}))),
|
||||
}),
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user