Commit Graph

75 Commits (bcd4e73d185e65529673bc79fdac2964fcaec657)

Author SHA1 Message Date
Jesse Szwedko 0fbd72a355 Add some basic math interpolation functions
10 years ago
James Nugent 47bce79b29 core: Add zipmap interpolation function
10 years ago
Gustavo 5910e3b8af Adds ‘tittle’ built-in function. (#9087)
10 years ago
James Bardin 39bbbb8da6 Add merge interpolation function
10 years ago
James Bardin c9e1522103 Use HIL to limit concat to ast.TypeList
10 years ago
James Bardin c15c0eb0cb Disallow strings as arguments to concat
10 years ago
Paul Hinze 88030764ff
config: Audit all interpolation functions for list/map behavior
10 years ago
Paul Hinze 1425b34562
config: Add map() interpolation function
10 years ago
James Bardin 8dcbc0b0a0 Add concat to accept lists of lists and maps
10 years ago
James Bardin 2bd7cfd5fe Expand list interpolation to lists and maps
10 years ago
James Nugent 58dd41f3b1 core: Add list() interpolation function
10 years ago
James Nugent 8403a465bc core: Add test and fix for element with empty list
10 years ago
James Nugent 4b6a632246 core: Rename uniq -> distinct and add docs
10 years ago
Jan Schumann df3e017f6c fix #7106
10 years ago
Paul Hinze 9bc980f569
core: Fix panic on concat() w/ list of nonprimitives
10 years ago
James Nugent 578ff9569e core: Add sort() interpolation function
10 years ago
David Adams b5d1279107 Allow specifying a default value to lookup()
10 years ago
David Glasser 594ea105d8 config: support lists and maps in jsonencode
10 years ago
James Nugent f49583d25a core: support native list variables in config
10 years ago
James Nugent e57a399d71 core: Use native HIL maps instead of flatmaps
10 years ago
David Glasser 6cf06bb3ab config: new interpolation function jsonencode
10 years ago
Paul Hinze 293c6ca68c Revert "Revert "core: Add uuid() interpolate function.""
10 years ago
James Nugent 87550b2b72 Merge pull request #5263 from uber/b-element-negative
10 years ago
Paul Hinze 661be01d9b Revert "core: Add uuid() interpolate function."
10 years ago
Paul Hinze 1e0b8ea478 core: Add uuid() interpolate function.
10 years ago
Radek Simko 664ba5f5a6 config: Add new interpolation function - md5
10 years ago
Radek Simko 573d3bd7ab config: Sort functions mapping alphabetically
10 years ago
Bill Fumerola c0034e672b Error out on negative indices in element()
10 years ago
Radek Simko 4edf782260 Merge pull request #4854 from jfromaniello/add_signum_interpolation
10 years ago
Mitchell Hashimoto 5f3de02fa9 remove config/lang, use hashicorp/hil
10 years ago
Radek Simko ecedcd0032 config: Add base64sha256() function
10 years ago
Colin Hebert d92d205dd9 rename trim to trimspace
10 years ago
Colin Hebert d45b7b2ddc Fix name from strip to trim
10 years ago
Colin Hebert f5074cd521 Add the trim() interpolation function
10 years ago
José F. Romaniello c8795b8565 Add signum interpolation function
10 years ago
Matt Moyer c17a6ceb2a Add a sha256(...) interpolation function.
10 years ago
Paul Hinze 0739cf2348 provider/template: fix race causing panic in template_file
10 years ago
Joseph Kordish e1b62c76ad add sha1 interpolation
10 years ago
Matt Morrison 6ecec7fe83 Add coalesce func
11 years ago
Martin Atkins ef161e1c1b Various interpolation functions for CIDR range manipulation.
11 years ago
Matt Morrison cccc5d03e3 Add lower / upper interpolation functions
11 years ago
Martin Atkins 16b11e443d go fmt the "compact" function changes.
11 years ago
Anthony Stanton aed3f98703 Rename func which is now a method.
11 years ago
Anthony Stanton ef2b0a0b71 Order functions alphabetically
11 years ago
Anthony Stanton 7610874264 Initial implementation of compact() interpolation function
11 years ago
Martin Atkins 0b85d35e87 Rename base64enc/dec to encode/decode.
11 years ago
Gorka Lerchundi Osa 70522fb770 implements base64{enc,dec} interpolation funcs
11 years ago
Jason Gedge cf5926ddad Add a function to find the index of an element in a list.
11 years ago
Paul Hinze c95f21cec1 config: make formatlist work on lists of length 1
11 years ago
Paul Hinze e88aeede9b core: allow distinguishing between empty lists and strings
11 years ago