Don't show no-ops in `terraform show`, since it's not something that will change any state.
This commit is contained in:
Jon Burgess 2019-06-27 17:30:35 +10:00
parent 56e6ff8e51
commit c0b1220a92
1 changed files with 4 additions and 0 deletions

View File

@ -83,6 +83,10 @@ func NewPlan(changes *plans.Changes) *Plan {
continue
}
if rc.Action == plans.NoOp {
continue
}
// For now we'll shim this to work with our old types.
// TODO: Update for the new plan types, ideally also switching over to
// a structural diff renderer instead of a flat renderer.