Commit Graph

150 Commits (f2dbf80badc8c7385a7b44bb040ae5e8550e7e60)

Author SHA1 Message Date
Pam Selle f738f85241 Create non-specific ModuleCallOutput
6 years ago
Alisdair McDiarmid 37006c5841 lang: Fix non-string key panics in map function
6 years ago
James Bardin 0bd40fd496
Merge pull request #24265 from hashicorp/jbardin/cty-update
6 years ago
James Bardin d999d43483 remove old funcs code
6 years ago
James Bardin d0d85f909a convert cty func calls to stdlib
6 years ago
Martin Atkins 67d95b97ce lang/funcs: templatefile requires valid variable names
6 years ago
Martin Atkins ec9f950b3f lang/funcs: Test actual error messages from templatefile
6 years ago
James Bardin a765d69fb0
Merge pull request #24032 from hashicorp/jbardin/map-funcs
6 years ago
James Goodhouse 25bfe7337b
lang: add setsubtract function (#23424)
6 years ago
James Bardin 529271e0be update merge docs to match behavior
6 years ago
James Bardin f5bf9aa55d make the merge function more precise
6 years ago
Martin Atkins 02576988c1 lang: "try" and "can" functions
6 years ago
George Christou 23fc68cc91
lang: Fix new `trim*` function mappings
6 years ago
George Christou 91100c003c lang/funcs: Add more `trim*` functions (#23016)
6 years ago
Parviz 6eaf1c23f9 lang/funcs: don't panic when transpose produces empty result
6 years ago
James Bardin 3839405d3d correctly evaluate self in for_each resources
6 years ago
James Bardin 1ee851f256
Merge pull request #22846 from hashicorp/jbardin/evaluate-resource
6 years ago
James Bardin bfce78064b lang/eval: more evalContext fixups
6 years ago
Martin Atkins 39e609d5fd vendor: switch to HCL 2.0 in the HCL repository
6 years ago
Martin Atkins f84ab99b7d lang/funcs: cidrsubnets function
7 years ago
James Bardin d4031918d1 parse resource refs correctly
7 years ago
James Bardin c49f976308 change lang eval to also only lookup resources
7 years ago
James Bardin 86bf674246 change GetResourceInstance to GetResource
7 years ago
Jeet Parekh bcc69c05bb lang/funcs: parseint function
7 years ago
Pam Selle f9ebae749c
Merge pull request #22707 from vsimon/spell
7 years ago
Vicken Simonian 853a0e0677 docs: Minor spelling and typo fixes
7 years ago
Brian Flad 19cf34114f
lang/funcs: Switch fileset() function glob implementation to github.com/bmatcuk/doublestar to support additional glob patterns
7 years ago
Brian Flad 769f626a0e
lang/funcs: Remove homedir.Expand() and refactor path trimming with filepath.Rel() in fileset() function
7 years ago
Brian Flad 820b79d91d
lang/funcs: Clarification update to MakeFileSetFunc comment for filepath.ToSlash usage
7 years ago
Brian Flad af7f6ef441
lang/funcs: Update fileset() function to include path as separate first argument, automatically trim the path argument from results, and ensure results are always canonical with forward slash path separators
7 years ago
Brian Flad d48d9ed766
lang/funcs: Add fileset function
7 years ago
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