github.com/hashicorp/packer@v1.14.3/command/test-fixtures/hcp/multiple_sources.pkr.hcl (about)

     1  source file "test" {
     2  	content = " "
     3  	target = "output"
     4  }
     5  
     6  source file "other" {
     7  	content = "b"
     8  	target = "output 2"
     9  }
    10  
    11  build {
    12  	name = "bucket-slug"
    13  
    14  	hcp_packer_registry {
    15  		description = <<EOT
    16  Some description
    17  		EOT
    18  		bucket_labels = {
    19  		    "foo" = "bar"
    20  		}
    21  		build_labels = {
    22  		    "python_version" = "3.0"
    23  		}
    24  	}
    25  
    26  	sources = [
    27  		"sources.file.test",
    28  		"sources.file.other"
    29  	]
    30  }