Commit Graph

136 Commits (f-workspaces2-prototype)

Author SHA1 Message Date
Martin Atkins 3852814797 projects: Find all the workspaces for a project
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
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