mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
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:
parent
0ac663bb2b
commit
083ea05295
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user