github.com/hugorut/terraform@v1.1.3/src/terraform/testdata/apply-local-val/main.tf (about)

     1  
     2  module "child" {
     3    source = "./child"
     4  }
     5  
     6  locals {
     7    result_1 = "${module.child.result}"
     8    result_2 = "${local.result_1}"
     9    result_3 = "${local.result_2} world"
    10  }