mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-26 16:36:26 -06:00
diff: comments
This commit is contained in:
parent
9e42654145
commit
a0cbbab03b
@ -30,6 +30,9 @@ func (b *ResourceBuilder) Diff(
|
||||
// Go through the configuration and find the changed attributes
|
||||
for k, v := range c.Raw {
|
||||
newV := v.(string)
|
||||
|
||||
// If this key is in the cleaned config, then use that value
|
||||
// because it'll have its variables properly interpolated
|
||||
if cleanV, ok := c.Config[k]; ok {
|
||||
newV = cleanV.(string)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user