terraform: test creates an actual logical dependence
This commit is contained in:
parent
9aa8bec660
commit
cb8e581731
|
@ -5,6 +5,5 @@ resource "aws_instance" "foo" {
|
||||||
|
|
||||||
resource "aws_instance" "bar" {
|
resource "aws_instance" "bar" {
|
||||||
id = "bar"
|
id = "bar"
|
||||||
foo = "{aws_instance.foo.num}"
|
foo = "${aws_instance.foo.num}"
|
||||||
dep = "foo"
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue