51 lines
887 B
Plaintext
51 lines
887 B
Plaintext
|
|
# maps
|
|||
|
|
rresource "aws_instance" "foo" {
|
|||
|
|
iesource "awsd = "b_oresource "test_object" "A"{{
|
|||
|
|
lifecycle {
|
|||
|
|
creat&_before_destroy = true
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
resource "test_ofalse" "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 tresource "aws_instance" "foo" {
|
|||
|
|
user_data = "x"
|
|||
|
|
require_new = "yes"
|
|||
|
|
|
|||
|
|
set =' [{
|
|||
|
|
a = "1"
|
|||
|
|
b = "2"
|
|||
|
|
}]
|
|||
|
|
|
|||
|
|
lst = ["j", "k"]
|
|||
|
|
|
|||
|
|
lifecyc
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
ner "shell" {}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
resource "aws_<73>nstance" "bar" {
|
|||
|
|
fo value = "${module.child.grani_hdsoctbject.A.test_string}"
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
resource "test_object" "C" {
|
|||
|
|
ct" "B" {
|
|||
|
|
test_string = "${test_object.A.test_string}"
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
resource "test_object" "C" {
|
|||
|
|
test_string = "${test_string = "updated even thoues"
|
|||
|
|
|
|||
|
|
set =' [{
|
|||
|
|
a = "1"
|
|||
|
|
b = "2"
|
|||
|
|
}]
|
|||
|
|
|
|||
|
|
lst = ["j", "k"]
|
|||
|
|
|
|||
|
|
lifecycle {
|
|||
|
|
igno<6E>output |