terraform: test creates an actual logical dependence

This commit is contained in:
Armon Dadgar 2014-09-17 17:29:02 -07:00
parent 9aa8bec660
commit cb8e581731
1 changed files with 1 additions and 2 deletions

View File

@ -5,6 +5,5 @@ resource "aws_instance" "foo" {
resource "aws_instance" "bar" {
id = "bar"
foo = "{aws_instance.foo.num}"
dep = "foo"
foo = "${aws_instance.foo.num}"
}