Fixes #21907
Don't show no-ops in `terraform show`, since it's not something that will change any state.
This commit is contained in:
parent
56e6ff8e51
commit
c0b1220a92
|
@ -83,6 +83,10 @@ func NewPlan(changes *plans.Changes) *Plan {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if rc.Action == plans.NoOp {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
// For now we'll shim this to work with our old types.
|
// For now we'll shim this to work with our old types.
|
||||||
// TODO: Update for the new plan types, ideally also switching over to
|
// TODO: Update for the new plan types, ideally also switching over to
|
||||||
// a structural diff renderer instead of a flat renderer.
|
// a structural diff renderer instead of a flat renderer.
|
||||||
|
|
Loading…
Reference in New Issue