github.com/hashicorp/packer@v1.14.3/hcl2template/testdata/init/imports/sources.pkr.hcl (about) 1 2 source "amazon-v3-ebs" "my-image" { 3 int = 42 4 } 5 6 7 source "virtualbox-iso" "ubuntu-1204" { 8 string = "string" 9 int = 42 10 int64 = 43 11 bool = true 12 trilean = true 13 duration = "10s" 14 15 map_string_string = { 16 a = "b" 17 c = "d" 18 } 19 slice_string = [ 20 "a", 21 "b", 22 "c", 23 ] 24 slice_slice_string = [ 25 ["a","b"], 26 ["c","d"] 27 ] 28 29 nested { 30 string = "string" 31 int = 42 32 int64 = 43 33 bool = true 34 trilean = true 35 duration = "10s" 36 map_string_string = { 37 a = "b" 38 c = "d" 39 } 40 slice_string = [ 41 "a", 42 "b", 43 "c", 44 ] 45 slice_slice_string = [ 46 ["a","b"], 47 ["c","d"] 48 ] 49 } 50 51 nested_slice { 52 string = "string" 53 int = 42 54 int64 = 43 55 bool = true 56 trilean = true 57 duration = "10s" 58 map_string_string = { 59 a = "b" 60 c = "d" 61 } 62 slice_string = [ 63 "a", 64 "b", 65 "c", 66 ] 67 slice_slice_string = [ 68 ["a","b"], 69 ["c","d"] 70 ] 71 } 72 73 nested_slice { 74 string = "string" 75 int = 42 76 int64 = 43 77 bool = true 78 trilean = true 79 duration = "10s" 80 map_string_string = { 81 a = "b" 82 c = "d" 83 } 84 slice_string = [ 85 "a", 86 "b", 87 "c", 88 ] 89 slice_slice_string = [ 90 ["a","b"], 91 ["c","d"] 92 ] 93 } 94 }