mirror of https://github.com/hashicorp/terraform
parent
03a20f072e
commit
cfc7b69bb1
@ -0,0 +1,11 @@
|
||||
resource "aws_instance" "foo" {
|
||||
num = "2"
|
||||
compute = "dynamical"
|
||||
compute_value = "${var.value}"
|
||||
}
|
||||
|
||||
resource "aws_instance" "bar" {
|
||||
provisioner "shell" {
|
||||
foo = "${aws_instance.foo.dynamical}"
|
||||
}
|
||||
}
|
||||
Loading…
Reference in new issue