github.com/wikibal01/hashicorp-terraform@v0.11.12-beta1/terraform/test-fixtures/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  }