Commit Graph

602 Commits (551eedcf2616376b00d7da170b09f682bbfa3445)

Author SHA1 Message Date
Mitchell Hashimoto 3665fea2db
config: validate that data sources don't have provisioners
10 years ago
Mitchell Hashimoto 9cc52d83de
config: test that null characters show up as errors in parse
10 years ago
Martin Atkins 399542a168 core: allow outputs to have descriptions (#9722)
10 years ago
Mitchell Hashimoto b3f80b9469
config: maintain slice index accounting for computed keys
10 years ago
Mitchell Hashimoto 25d19ef3d0 Merge pull request #10080 from hashicorp/f-tf-version
10 years ago
Mitchell Hashimoto df34fa88ce Merge pull request #10076 from hashicorp/f-depend-module
10 years ago
Mitchell Hashimoto e3a01ccfd8 Merge pull request #10072 from hashicorp/f-output-depends-on
10 years ago
Mitchell Hashimoto 15979435d6
config: update error string for new HIL merge
10 years ago
Mitchell Hashimoto 85d3439fa0
config: parse and validate terraform.required_version
10 years ago
Mitchell Hashimoto 576b61a21d
config: validate depends_on with module values
10 years ago
Mitchell Hashimoto 10426ba619
config: parse depends_on for outputs
10 years ago
Mitchell Hashimoto 5107c33119
command/import: load configurations and allow empty config dirs
10 years ago
Mitchell Hashimoto a8fbf3420c
config: clean up unused fucntions
10 years ago
Mitchell Hashimoto 2d656b484c
config: test that partial interpolation in a list works properly
10 years ago
Mitchell Hashimoto b979d8927e
config: use ast.TypeUnknown and don't remove computed values
10 years ago
Mitchell Hashimoto 260fb81373 Merge pull request #9795 from hashicorp/b-formatlist-empty
10 years ago
Mitchell Hashimoto 29287937e3 Merge pull request #9818 from hashicorp/b-var-parse
10 years ago
Mitchell Hashimoto ef3148bbfa
config: validate that outputs have a name
10 years ago
Mitchell Hashimoto f054c5ca2c
config: manually parse variable blocks for better validation
10 years ago
Mitchell Hashimoto d69b6257df
config: formatlist accepts an empty list
10 years ago
Raphael Randschau e97785c899 terraform/core: typo in RawConfig documentation (#9714)
10 years ago
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
Mitchell Hashimoto 694b16de5d
config: ignore_changes cannot have interpolations
10 years ago
Mitchell Hashimoto fee0351c66
config: RawConfig merge should only set unknown keys non-nil if
10 years ago
Mitchell Hashimoto 5cd6898109
config: fix a conflicting test name
10 years ago
Mitchell Hashimoto dfa02e4412
terraform: rename attach config to only attach provider config
10 years ago
Mitchell Hashimoto 55ef966b88
config/module: tree.Child on a nil tree works
10 years ago
Mitchell Hashimoto 0fe51b334c Merge pull request #9334 from hashicorp/f-shadow-graph
10 years ago
Mitchell Hashimoto 30596ca371
terraform: sanity test (passes, always passed)
10 years ago
Mitchell Hashimoto 098225dc0d
config/module: use the raw source as part of the key
10 years ago
Mitchell Hashimoto 37c880c377
Update reflectwalk to fix failing tests
10 years ago
James Bardin e2b6ccad8a Failing test for GH-8820
10 years ago
Mitchell Hashimoto 609219fc65 command/meta: validate config immediately
10 years ago
James Bardin 94674fe93c Add a test load of a data source with count
10 years ago
James Bardin a3fc7e2e21 remove "count" while loading a data source
10 years ago
Sander van Harmelen 47dd1ad153 Add wildcard (match all) support to ignore_changes (#8599)
10 years ago
James Bardin 14138fc449 Add test for RawMap
10 years ago
James Bardin 632c16c212 Fix inconsistent results with self interpolation
10 years ago
Mitchell Hashimoto 706b2e2aea Merge pull request #8482 from hashicorp/b-output-dup
10 years ago
Mitchell Hashimoto 0fceeaaeb0
config: test for var uniqueness in overrides
10 years ago
Mitchell Hashimoto 4e7f2dd01e Merge pull request #8398 from hashicorp/b-module-collide
10 years ago
Mitchell Hashimoto 8a3559560d
config: JSON resource keys with only one item load properly GH-5140
10 years ago
Mitchell Hashimoto fbf06e2a59
config: vars must be unique
10 years ago
Mitchell Hashimoto 099293b690
config: outputs must be unique
10 years ago
Mitchell Hashimoto 92336281a5
config/module: use source as part of key
10 years ago
Mitchell Hashimoto f4faf2274b
config: count can't be a SimpleVariable
10 years ago
James Bardin 81bb6b7264 Merge pull request #7905 from hashicorp/jbardin/merge
10 years ago
James Bardin 39bbbb8da6 Add merge interpolation function
10 years ago
James Bardin 1af7ee87a2 Silence log output when not verbose
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
James Nugent 796ce7bdd7 build: Opt-in to building rather than opt-out
10 years ago
James Nugent b2d5b66508 Merge pull request #7880 from hashicorp/b-fix-freebsd
10 years ago
James Nugent 2eb00c9184 build: Fix errors in FreeBSD build
10 years ago
James Bardin 5802f76eaa Make all terraform package tests pass under -race
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 c6e03cba96 core: Fix slice element keys on interpolateWalk
10 years ago
James Bardin e78dc291af Add test to ensure key/values interp order
10 years ago
James Nugent 8284b79957 Merge pull request #7298 from hashicorp/jbardin/GH-7273-fixup
10 years ago
James Nugent 8403a465bc core: Add test and fix for element with empty list
10 years ago
James Bardin 525485c213 Add proper build constraints for GH-7273
10 years ago
James Bardin 558e023e26 Don't try to copy files over themselves
10 years ago
James Nugent 9d6c629689 config: Update test to reflect new behaviour
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
Paul Hinze ffa29090ec
core: Better error for dot indexing on user vars
10 years ago
James Nugent 01cd596c60 core: Fix detection of empty list/map defaults
10 years ago
James Nugent 578ff9569e core: Add sort() interpolation function
10 years ago
James Nugent cb9ef298f3 core: Defeat backward compatibilty in mapstructure
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
Martin Atkins 60c24e3319 command: Prevent data resources from being tainted
10 years ago
Martin Atkins 718cdda77b config: Parsing of data.TYPE.NAME.FIELD variables
10 years ago
Martin Atkins 860140074f config: Data source loading
10 years ago
Martin Atkins fc4fa10981 config: "ResourceMode" concept for resources
10 years ago
Mitchell Hashimoto 27452f0043
terraform: Module option to Import to add module to graph
10 years ago
Mitchell Hashimoto 3c9a92e04a
command: Context buliding allows empty module trees
10 years ago
James Nugent f1d0fc46aa core: Fix go vet issues shown by Travis
10 years ago
James Nugent 244da895cd core: Remove StringList
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
James Nugent b62f6af158 core: Add support for marking outputs as sensitive (#6559)
10 years ago
James Nugent a0cc7115b3 deps: Update call sites of hil.Eval from update
10 years ago
James Nugent d7d39702c0 Type check variables between modules (#6185)
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
Paul Hinze 567a9b9e06 config: remove missing equals test to fix build
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