mux_tf 0.17.0 → 0.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/mux_tf/plan_utils.rb +5 -3
- data/lib/mux_tf/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4daae54b1c3dec534cbea1d885966275435c29d6a528afac0a406c574fe5d559
|
4
|
+
data.tar.gz: 5c92881a86eac6d57e955a4194fa78119f5e86934d0b52cbacff473a3d8ddb1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1ff3f7eb9936e8eeb0c1f56463405cba9f2b996ac3ff05aee914698ee447befec00ae845ec14328ab7b2e6e80201a63ae7d99dcd5ac424584843ec2091c724e
|
7
|
+
data.tar.gz: bb01ac4e5fbfe60f3ea9aadab25c42543c53c55757c86da14e2ab1eef1d707b35a5b76f9bacb4d075eca00fa58c16eb278cffe1497612ac6cca91b5bb0934caa
|
data/lib/mux_tf/plan_utils.rb
CHANGED
@@ -503,11 +503,13 @@ module MuxTf
|
|
503
503
|
end
|
504
504
|
end
|
505
505
|
|
506
|
-
|
506
|
+
actual_output_changes = (data["output_changes"] || []).reject { |_, change| change["actions"] == ["no-op"] }
|
507
|
+
|
508
|
+
if actual_output_changes.length.positive?
|
507
509
|
output << ""
|
508
510
|
output << "Changes to Outputs:"
|
509
|
-
max_outer_key_length =
|
510
|
-
|
511
|
+
max_outer_key_length = actual_output_changes.keys.map(&:length).max || 0
|
512
|
+
actual_output_changes.each do |key, output_change|
|
511
513
|
output << tf_show_json_output(key, output_change, max_outer_key_length)
|
512
514
|
end
|
513
515
|
end
|
data/lib/mux_tf/version.rb
CHANGED