Skip to content

Commit

Permalink
two more locations where Attribute.Type was used
Browse files Browse the repository at this point in the history
  • Loading branch information
jbardin committed Jul 27, 2022
1 parent 0b62de9 commit b267e2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/plans/objchange/objchange.go
Expand Up @@ -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)
}
Expand Down

0 comments on commit b267e2d

Please sign in to comment.