lib/terradactyl/terraform/planfile.rb in terradactyl-terraform-1.4.1 vs lib/terradactyl/terraform/planfile.rb in terradactyl-terraform-1.5.0

- old
+ new

@@ -56,11 +56,16 @@ # calculating a checksum for the plan, so we excise it in an effort # to conform the data. This is sub-optimal, but presently necessary. # # brian.warsing@visioncritical.com (2020-06-18) + # The same must be done to the `timestamp` node introduced in TF 1.5 + # + # lisa.li@alida.com (2023-06-12) + parsed.reject { |k| k == 'prior_state' }.to_json + parsed.reject { |k| k == 'timestamp' }.to_json ensure popd end # rubocop:enable Metrics/AbcSize @@ -117,9 +122,14 @@ class PlanFileParser < Rev012::PlanFileParser end end module Rev1_04 + class PlanFileParser < Rev012::PlanFileParser + end + end + + module Rev1_05 class PlanFileParser < Rev012::PlanFileParser end end module Rev011