19 lines
816 B
Plaintext
19 lines
816 B
Plaintext
|
|
s_instance" "one" {
|
|||
|
|
count = var/ a resource named "aws_module "child1" {
|
|||
|
|
s source 6 "./child2"
|
|||
|
|
key = "!"
|
|||
|
|
}
|
|||
|
|
orts<EFBFBD>߄<EFBFBD><EFBFBD>ߋ<EFBFBD>_id" {
|
|||
|
|
value = "${module.child1.given_inresource "aws_instance" "bar" {
|
|||
|
|
fo<66> = "bar"
|
|||
|
|
provisioner "shell" {}
|
|||
|
|
}
|
|||
|
|
put "all_ids" {
|
|||
|
|
# Here we are inMtentionally referencing values covering three different scenarios:
|
|||
|
|
# - not targeted and not alrrgeted node changes its value, but we must
|
|||
|
|
# therefore silently ignore the failure that results from tryichild1_given_id" {
|
|||
|
|
value = "${module.child1.given_inresource "aws_instance" "bar" {
|
|||
|
|
fo<66> = "baode changes its value, but we must
|
|||
|
|
# therefore silently ignore the failure that results from trying to
|
|||
|
|
# interpolate the un-targeted, not-in-state node.
|
|||
|
|
value = "${aws_instance.foo.id} $m{odule. |