terraform: state prune prunes computed variables
This commit is contained in:
parent
8365d39d26
commit
cbbe9cb588
|
@ -377,6 +377,12 @@ func (m *ModuleState) prune() {
|
|||
delete(m.Resources, k)
|
||||
}
|
||||
}
|
||||
|
||||
for k, v := range m.Outputs {
|
||||
if v == config.UnknownVariableValue {
|
||||
delete(m.Outputs, k)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func (m *ModuleState) sort() {
|
||||
|
|
Loading…
Reference in New Issue