mirror of https://github.com/hashicorp/terraform
parent
9c612964d8
commit
965fe45b9e
@ -0,0 +1,11 @@
|
||||
resource "aws_instance" "foo" {
|
||||
foo = "bar"
|
||||
|
||||
connection {
|
||||
host = "${self.foo}"
|
||||
}
|
||||
|
||||
provisioner "shell" {
|
||||
value = "${self.foo}"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,3 @@
|
||||
resource "aws_instance" "foo" {
|
||||
foo = "${self.bar}"
|
||||
}
|
||||
Loading…
Reference in new issue