github.com/hashicorp/packer@v1.14.3/packer_test/core_tests/templates/locals_duplicate.pkr.hcl (about)

     1  local "test" {
     2      expression = "two"
     3      sensitive = true
     4  }
     5  
     6  locals {
     7      test = local.test
     8  }
     9  
    10  variable "test" {
    11      type = string
    12      default = "home"
    13  }
    14  source "null" "example" {}
    15  
    16  build {
    17      sources = ["source.null.example"]
    18  }