core: Context plan tests update for "count" behavior change

The behavior of the "count" meta-argument has changed so that its presence
(rather than its value) chooses whether the associated resource has
indexes. As a consequence, these tests which set count = 1 now produce
a single indexed instance with index 0.
This commit is contained in:
Martin Atkins 2018-05-23 14:47:02 -07:00
parent 0ac663bb2b
commit 083ea05295

View File

@ -1067,7 +1067,7 @@ STATE:
const testTerraformPlanComputedMultiIndexStr = `
DIFF:
CREATE: aws_instance.bar
CREATE: aws_instance.bar.0
foo: "" => "<computed>"
type: "" => "aws_instance"
CREATE: aws_instance.foo.0
@ -1146,7 +1146,7 @@ DIFF:
CREATE: aws_instance.bar
foo: "" => "foo"
type: "" => "aws_instance"
CREATE: aws_instance.foo
CREATE: aws_instance.foo.0
foo: "" => "foo"
type: "" => "aws_instance"