packer-cn/hcl2template
Adrien Delorme 193dad46e6
Hcl2 input variables, local variables and functions (#8588)
Mainly redefine or reused what Terraform did.

* allow to used `variables`, `variable` and `local` blocks
* import the following functions and their docs from Terraform: abs, abspath, basename, base64decode, base64encode, bcrypt, can, ceil, chomp, chunklist, cidrhost, cidrnetmask, cidrsubnet, cidrsubnets, coalesce, coalescelist, compact, concat, contains, convert, csvdecode, dirname, distinct, element, file, fileexists, fileset, flatten, floor, format, formatdate, formatlist, indent, index, join, jsondecode, jsonencode, keys, length, log, lookup, lower, max, md5, merge, min, parseint, pathexpand, pow, range, reverse, rsadecrypt, setintersection, setproduct, setunion, sha1, sha256, sha512, signum, slice, sort, split, strrev, substr, timestamp, timeadd, title, trim, trimprefix, trimspace, trimsuffix, try, upper, urlencode, uuidv4, uuidv5, values, yamldecode, yamlencode, zipmap.
2020-02-06 11:49:21 +01:00
..
function Hcl2 input variables, local variables and functions (#8588) 2020-02-06 11:49:21 +01:00
internal Hcl2 input variables, local variables and functions (#8588) 2020-02-06 11:49:21 +01:00
testdata Hcl2 input variables, local variables and functions (#8588) 2020-02-06 11:49:21 +01:00
common_test.go Hcl2 input variables, local variables and functions (#8588) 2020-02-06 11:49:21 +01:00
decode.go Hcl2 input variables, local variables and functions (#8588) 2020-02-06 11:49:21 +01:00
docs.go Hcl2 input variables, local variables and functions (#8588) 2020-02-06 11:49:21 +01:00
functions.go Hcl2 input variables, local variables and functions (#8588) 2020-02-06 11:49:21 +01:00
parser.go Hcl2 input variables, local variables and functions (#8588) 2020-02-06 11:49:21 +01:00
types.build.from.go build using HCL2 (#8423) 2019-12-17 11:25:56 +01:00
types.build.go Hcl2 input variables, local variables and functions (#8588) 2020-02-06 11:49:21 +01:00
types.build.post-processor.go Hcl2 input variables, local variables and functions (#8588) 2020-02-06 11:49:21 +01:00
types.build.provisioners.go Hcl2 input variables, local variables and functions (#8588) 2020-02-06 11:49:21 +01:00
types.build_test.go Hcl2 input variables, local variables and functions (#8588) 2020-02-06 11:49:21 +01:00
types.hcl_ref.go Hcl2 input variables, local variables and functions (#8588) 2020-02-06 11:49:21 +01:00
types.packer_config.go Hcl2 input variables, local variables and functions (#8588) 2020-02-06 11:49:21 +01:00
types.packer_config_test.go Hcl2 input variables, local variables and functions (#8588) 2020-02-06 11:49:21 +01:00
types.source.go Hcl2 input variables, local variables and functions (#8588) 2020-02-06 11:49:21 +01:00
types.source_test.go Hcl2 input variables, local variables and functions (#8588) 2020-02-06 11:49:21 +01:00
types.variables.go Hcl2 input variables, local variables and functions (#8588) 2020-02-06 11:49:21 +01:00
types.variables_test.go Hcl2 input variables, local variables and functions (#8588) 2020-02-06 11:49:21 +01:00
utils.go Hcl2 input variables, local variables and functions (#8588) 2020-02-06 11:49:21 +01:00
zz_retrocompat.go add hcl2template pkg 2019-10-15 12:56:42 +02:00