Commit Graph

119 Commits (1e2da4f776bdf74058154ed31c4cd62b052d3f2d)

Author SHA1 Message Date
Pam Selle e38d588cfc
Merge pull request #22314 from hashicorp/pselle/double-dynamic
7 years ago
Alex Pilon e2eb70b737
remove satori/go.uuid in favor of google/uuid
7 years ago
Martin Atkins 135afaeb9c lang: "regex" and "regexall" functions
7 years ago
Pam Selle 234c1c482a Add a comment
7 years ago
Pam Selle cd83e6108d Fixes issue where attribute in nested is not of list type/is invalid and would panic
7 years ago
Kristin Laemmert 2b14a6b332
lang/funcs: lookup() can work with maps of lists, maps and objects (#22269)
7 years ago
Pam Selle 360068b3cb
Merge pull request #21922 from pselle/resource_for_each
7 years ago
James Bardin 6e222375c7 invlaid use of dynamic with attrs should not panic
7 years ago
Pam Selle 7d905f6777 Resource for_each
7 years ago
Radek Simko 5c30bafee0
Merge pull request #22119 from hashicorp/b-chunklist-empty-list
7 years ago
Radek Simko 736fda1613
lang/funcs: Pass through empty list in chunklist
7 years ago
Saverio Miroddi 983af7a183 Allow null values in Compact function
7 years ago
Andreas Sommer 042aead714 lang/funcs: add "abspath" function (#21409)
7 years ago
Paul Tyng ebea080aca Add missing bool case
7 years ago
Pam Selle 1255ad6722 Don't allow nulls in calls to merge
7 years ago
Lars Eric Scheidler aa07806bfc lang/funcs: New "uuidv5" function
7 years ago
Martin Atkins 382e1ca821 lang: yamldecode and yamlencode functions
7 years ago
Martin Atkins f9a73d48db lang: "range" function
7 years ago
Kristin Laemmert c163ba71db simplify
7 years ago
Kristin Laemmert 30a924e162 lang/funcs: `matchkeys` - unify type for keys and searchset
7 years ago
Kristin Laemmert f2a14d7c18 lang/funcs: fix error when `matchkeys` encountered a variable
7 years ago
James Bardin 0133dda311 allow empty dynamic blocks with ConfigModeAttr
7 years ago
Martin Atkins 55794eb658 lang/funcs: Don't panic when distinct called with empty list
7 years ago
Martin Atkins 742deca3e9 lang/funcs: Short-circuit if start or end index is unknown
7 years ago
Kristin Laemmert b1d0b1383f
lang/funcs: remove sethaselement function and documentation (#21164)
7 years ago
James Bardin 3ab496d4b1 allow sets and tuples in contains function
7 years ago
James Bardin 19bddee11b more precise types handling in coalescelist
7 years ago
James Bardin d186d3a490 update slice test
7 years ago
James Bardin 359f057a16 allow chunklist to handle unknowns
7 years ago
James Bardin 93ef015336 more precise type handling in flatten
7 years ago
James Bardin 81e04c3050 more precise type handling in slice
7 years ago
Kristin Laemmert 8520f4e4a5
* lang/funcs/flatten: accept sets and tuples, return tuples
7 years ago
Martin Atkins 6adcc7ab73 vendor: go get github.com/zclconf/go-cty@master
7 years ago
Kristin Laemmert 394cf7f25e
lang/funcs: add acc tests for functions (#21112)
7 years ago
Kit Ewbank efc08de5d6 lang/funcs: add 'strrev' interpolation function. (#21091)
7 years ago
Kristin Laemmert d4669246c7
funcs/coalesce: return the first non-null, non-empty-string element from a sequence (#21002)
7 years ago
Martin Atkins ffcf9fc51b lang/blocktoattr: Apply fixup within already-fixed-up blocks too
7 years ago
Martin Atkins 4d52999538 lang: EvalBlock should use ReferencesInBlock
7 years ago
Martin Atkins 6c5819f910 configs/configupgrade: Prefer block syntax for list-of-object attributes
7 years ago
Martin Atkins 003317d7c8 lang: Detect references when a list/set attr is defined using blocks
7 years ago
Martin Atkins 8746e9e8ad lang/blocktoattr: ExpandedVariables function
7 years ago
Martin Atkins 87786484ea lang/eval: Apply attr-as-nested-block fixup in EvalBlock
7 years ago
Martin Atkins 6dcf8195b8 lang/blocktoattr: Selectively allow block syntax to be used for attributes
7 years ago
Martin Atkins 096b1bb87b lang/funcs: Port the "reverse" function from the old functions set
7 years ago
Martin Atkins 2b1e650df2 lang/funcs: Fix out-of-bounds ArgError in templatefile function
7 years ago
Martin Atkins 50a101afbd lang: Consider "dynamic" blocks when resolving references
7 years ago
Martin Atkins 838a42d218 vendor: go get github.com/hashicorp/hcl2@master
7 years ago
Brian Flad 398fe8652d
config: Mention other file hashing functions when file() detects unsupported contents
7 years ago
Brian Flad 81bdaa8c38
lang/funcs: Fix filebase64sha256 function hashing algorithm
7 years ago
Martin Atkins f8a6f66be4 lang/funcs: Fix panic in "join" when an element is null
7 years ago