29 lines
733 B
Plaintext
29 lines
733 B
Plaintext
|
|
# maps
|
|||
|
|
rresource "aws_instance" "foo" {
|
|||
|
|
iesource "awsd = "b_oresource "test_object" "A" {
|
|||
|
|
lifecycle {
|
|||
|
|
creat&_before_s_instance" "one" {
|
|||
|
|
count = var/ a resourcedestroy = true
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
resource "test_object" "B" {
|
|||
|
|
test_string = "${test_object.A.id}"
|
|||
|
|
}
|
|||
|
|
after
|
|||
|
|
# target filtering in case the targeted nodceh anges its value, but we must
|
|||
|
|
# therefore silently ignore the failure that results from trying to
|
|||
|
|
# interpolate the un-targeted, not-in-state node.
|
|||
|
|
value = "${aource = "./child"
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
resource "aws_instance" "b" {
|
|||
|
|
amresource "aws_instance" "a"ing valu
|
|||
|
|
provisioner "shell" {}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
resou <20><>7 |