-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: context test for partially-unknown splat lists
This is a context test for the behavior enabled by #14135, as some insurance to decrease the chance that we break it again.
- Loading branch information
1 parent
3f4b75c
commit 58f5257
Showing
2 changed files
with
110 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
resource "aws_instance" "foo" { | ||
name = "foo ${count.index}" | ||
count = 3 | ||
} | ||
|
||
resource "aws_instance" "bar" { | ||
foo_name = "${aws_instance.foo.*.name[count.index]}" | ||
count = 3 | ||
} |