From c19fb49bda9f0b9fa3ff4bdc11a4c0c452d91857 Mon Sep 17 00:00:00 2001 From: James Bardin Date: Wed, 17 Jan 2018 15:31:21 -0500 Subject: [PATCH] reset old ignore_changes test back to correct diff The output for the flatmap ignore_changes test was incorrectly modified. Providers expect diffs of complex attributes to contain all or nothing. --- terraform/terraform_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/terraform/terraform_test.go b/terraform/terraform_test.go index 640741e45..2deb44153 100644 --- a/terraform/terraform_test.go +++ b/terraform/terraform_test.go @@ -1675,7 +1675,10 @@ aws_instance.foo: const testTFPlanDiffIgnoreChangesWithFlatmaps = ` UPDATE: aws_instance.foo lst.#: "1" => "2" + lst.0: "j" => "j" lst.1: "" => "k" + set.#: "1" => "1" + set.0.a: "1" => "1" set.0.b: "" => "2" type: "" => "aws_instance" `