33 lines
537 B
Plaintext
33 lines
537 B
Plaintext
|
|
module "grandchild" {
|
|||
|
|
source = "./child"
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
resource "aws_instance" "b" {
|
|||
|
|
amreobject.A.test_${local.foo}"
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
locals {
|
|||
|
|
foo =<3D><><EFBFBD>ends_on = [
|
|||
|
|
test_resource.a
|
|||
|
|
]
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
resource "test_resource" "b" {
|
|||
|
|
count = 1
|
|||
|
|
foo = data.test_data.d[count.index].compute
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
nested_resource_1 {
|
|||
|
|
attr1 = 2
|
|||
|
|
attr2 = 2.112
|
|||
|
|
attr3 = 2.112e-12
|
|||
|
|
attr4 = 2.112e+12
|
|||
|
|
ut "child1_given_id" {
|
|||
|
|
value = "${moo" {
|
|||
|
|
value = "${locstring}"
|
|||
|
|
}
|
|||
|
|
al.foo |