terraform: diff has Destroy flag
This commit is contained in:
parent
d54034d0b5
commit
9c024994b7
|
@ -147,6 +147,7 @@ func (d *Diff) String() string {
|
||||||
// ResourceDiff is the diff of a resource from some state to another.
|
// ResourceDiff is the diff of a resource from some state to another.
|
||||||
type ResourceDiff struct {
|
type ResourceDiff struct {
|
||||||
Attributes map[string]*ResourceAttrDiff
|
Attributes map[string]*ResourceAttrDiff
|
||||||
|
Destroy bool
|
||||||
}
|
}
|
||||||
|
|
||||||
// ResourceAttrDiff is the diff of a single attribute of a resource.
|
// ResourceAttrDiff is the diff of a single attribute of a resource.
|
||||||
|
|
Loading…
Reference in New Issue