mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-13 09:32:24 -06:00
two more locations where Attribute.Type was used
This commit is contained in:
parent
43100fbe39
commit
fd76846d35
@ -499,10 +499,10 @@ func setElementCompareValue(schema *configschema.Block, v cty.Value, isConfig bo
|
||||
if isConfig {
|
||||
attrs[name] = v.GetAttr(name)
|
||||
} else {
|
||||
attrs[name] = cty.NullVal(attr.Type)
|
||||
attrs[name] = cty.NullVal(attr.ImpliedType())
|
||||
}
|
||||
case attr.Computed:
|
||||
attrs[name] = cty.NullVal(attr.Type)
|
||||
attrs[name] = cty.NullVal(attr.ImpliedType())
|
||||
default:
|
||||
attrs[name] = v.GetAttr(name)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user