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
|
// Go through the configuration and find the changed attributes
|
||||||
for k, v := range c.Raw {
|
for k, v := range c.Raw {
|
||||||
newV := v.(string)
|
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 {
|
if cleanV, ok := c.Config[k]; ok {
|
||||||
newV = cleanV.(string)
|
newV = cleanV.(string)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue