diff --git a/tfexec/internal/e2etest/cmp.go b/tfexec/internal/e2etest/cmp.go index 53bc4543..b079f6e3 100644 --- a/tfexec/internal/e2etest/cmp.go +++ b/tfexec/internal/e2etest/cmp.go @@ -12,7 +12,7 @@ import ( // diffState returns a human-readable report of the differences between two // state values. It returns an empty string if the two values are equal. func diffState(expected *tfjson.State, actual *tfjson.State) string { - return cmp.Diff(expected, actual, cmpopts.IgnoreFields(tfjson.State{}, "TerraformVersion")) + return cmp.Diff(expected, actual, cmpopts.IgnoreFields(tfjson.State{}, "TerraformVersion"), cmpopts.IgnoreFields(tfjson.State{}, "useJSONNumber")) } // diffPlan returns a human-readable report of the differences between two