Commit Graph

241 Commits (eaaf22dcde491f7e87edb9251ff56c5349e0572e)

Author SHA1 Message Date
Adrien Delorme 03d79a2c39
HCL2 variables: split validation from getting value (#10843)
5 years ago
Adrien Delorme 77a29fc2f8
Allow to have `dynamic` blocks in a `build` block + tests (#10825)
5 years ago
Adrien Delorme 0e3fcb589b
Implicit required_plugin blocks (#10732)
5 years ago
Wilken Rivera 5e17dbeff2 Fix up regex in test
5 years ago
Adrien Delorme ff01e6715a
HCL2: add templatefile function (#10776)
5 years ago
Megan Marsh a6f907c688 tests
5 years ago
Megan Marsh f12c89bd84 add legacy_isotime function to hcl funcs
5 years ago
Megan Marsh 60c961c021
Merge pull request #10457 from teddylear/feature/recursivefmt-2
5 years ago
Adrien Delorme f32b67c3bb
Simplify error message when config file can't be "stat'd" (#10763)
5 years ago
Adrien Delorme 160d932cce remove weir "Cannot tell wether " + path + " is a directory" error
5 years ago
Adrien Delorme e0fe579837 un-remove tests
5 years ago
Adrien Delorme 8ee8420408 simplify return
5 years ago
Adrien Delorme 25ee6a19a6 flatten if a little
5 years ago
Adrien Delorme a6321ac137 remove debug line
5 years ago
Adrien Delorme 832c0f2b2a actually run fmt tests and then remove debug statements
5 years ago
teddylear 22d373c279 Adding more debug logic
5 years ago
Adrien Delorme 7d30a5d79d remove duplicate tests
5 years ago
Adrien Delorme 4e22147909 Merge remote-tracking branch 'origin/master' into pr/teddylear/10457
5 years ago
Adrien Delorme 8208f425c8 addrs: remove Plugin.ForDisplay func, the String one does the job
5 years ago
Adrien Delorme 429262030f fix paths for windows !
5 years ago
Adrien Delorme 4487152d1e cosmetic commit
5 years ago
Adrien Delorme 72e4dc4cb5 update docs to remove 'magic' required_plugin block usages
5 years ago
Adrien Delorme 7809242f41 quote template example
5 years ago
Adrien Delorme 4cb94a67b0 Update types.variables.go
5 years ago
Adrien Delorme 029729225d tests and fixes
5 years ago
Adrien Delorme aeecfcd422 show version constrain error in case it's handy
5 years ago
Adrien Delorme 9f545c28fe required_plugins: prevent using `plugin = "version"`, and show an example
5 years ago
Adrien Delorme fe12d53e77 addr: remove support for defaulting plugin namespace and host
5 years ago
teddylear 0637601eda Fixing recursive formatting tests to work on all platforms
5 years ago
Sylvia Moss 774c5903f6
Add error-cleanup-provisioner to HCL2 (#10604)
5 years ago
teddylear d85286e228 Merging in master
5 years ago
Sylvia Moss 1e889078fd
add regex and regexall functions (#10601)
5 years ago
Adrien Delorme ffbb110167
Test running plugins with fake and fresh plugins (#10595)
5 years ago
teddylear d3754e3021 Updating recursive formatter tests to be cleaner and table driven
5 years ago
teddylear 40a97e29db Clean up recursive format tests to be more accurate
5 years ago
teddylear 93df53a275 Refactor recursive formatting test cases to be table driven
5 years ago
teddylear 261abe0cae Setting recursive fmt to false, updatting recursive fmt test to validate
5 years ago
teddylear ab4b3a8465 Adding recursive flag to formatter to format subdirectories
5 years ago
Megan Marsh ca123721a6 plugin loading failure should be considered an error so build will not try to run
5 years ago
Sylvia Moss ef4afafde9
Fix force flag for hcl2 provisioners and post-processors (#10571)
5 years ago
Sylvia Moss 3ddb17ad86
Don't allow data sources to be used inside data sources (#10559)
5 years ago
Wilken Rivera 8ccd164f25
Update diagnostic detail to display list of PostProcessors (#10564)
5 years ago
Adrien Delorme ed091163be
HCL2 Parse packer.required_plugins block + packer init (#10304)
5 years ago
Megan Marsh a5a1344948
Merge pull request #10516 from hashicorp/fix_uint8_hcl
5 years ago
Megan Marsh 90fb09e52a linting
5 years ago
Megan Marsh 21df997061 Handle case where list is empty
5 years ago
Megan Marsh fbbda0f9d9
Sensitive locals (#10509)
5 years ago
Megan Marsh e3b14d888b create util function in hcl2 template that will load config values into hcl values without panicing if it finds something it cannot handle
5 years ago
Megan Marsh c8d5d56f61 fix
5 years ago
Megan Marsh a8c8d247bb fix uint8
5 years ago