packer/hcl2template
Louis Sautier 963c368c31
hcl2template: fix spacing in error message
Before this fix, the error message looked like:
```
A source type is made of three parts that aresplit by a dot `.`; each part must
start with a letter and may contain only letters, digits, underscores, and
dashes.A valid source reference looks like: `source.type.name`
```
2025-08-27 19:26:27 +02:00
..
addrs addrs: require at least 3 parts to source URIs 2024-05-15 14:12:41 -04:00
fixtures hcl2: fix crash on malformed overrides (#11881) 2022-07-20 14:30:49 -04:00
function Merging main 2025-04-24 22:54:07 +05:30
internal [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
repl [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
shim [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
testdata formatting multiple hcl files (#13362) 2025-05-02 10:16:00 +05:30
common_test.go hcl: add get GetHCPPackerRegistry method to PackerConfig 2025-03-11 14:49:59 -04:00
components.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
decode.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
docs.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
formatter.go formatting multiple hcl files (#13362) 2025-05-02 10:16:00 +05:30
formatter_test.go formatting multiple hcl files (#13362) 2025-05-02 10:16:00 +05:30
functions.go Merging main 2025-04-24 22:54:07 +05:30
parser.go hcl2template: err on malformed local/data dep (#13340) 2025-06-17 09:22:09 +05:30
plugin.go packer: register plugin components only once 2024-05-14 11:41:18 -04:00
types.build.from.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
types.build.go hcl2template: fix spacing in error message 2025-08-27 19:26:27 +02:00
types.build.hcp_packer_registry.go hcl2template: don't error on empty bucket slug 2024-12-12 11:29:01 -05:00
types.build.hcp_packer_registry_test.go Fixed Test Cases 2025-06-24 21:36:50 +05:30
types.build.post-processor.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
types.build.provisioners.go IMPROV: Populating the PackerSensitiveVars variable 2025-06-24 21:36:50 +05:30
types.build.provisioners_test.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
types.build_test.go Fixed Test Cases 2025-06-24 21:36:50 +05:30
types.datasource.go hcl2template: use refString for local/data deps 2024-10-29 16:10:29 -04:00
types.datasource_test.go Fixed Test Cases 2025-06-24 21:36:50 +05:30
types.hcl_post-processor.go IMPROV: Populating the PackerSensitiveVars variable 2025-06-24 21:36:50 +05:30
types.hcl_provisioner.go IMPROV: Populating the PackerSensitiveVars variable 2025-06-24 21:36:50 +05:30
types.hcl_ref.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
types.packer_config.go IMPROV: Populating the PackerSensitiveVars variable 2025-06-24 21:36:50 +05:30
types.packer_config_test.go Fixed Test Cases 2025-06-24 21:36:50 +05:30
types.refstring.go hcl2template: rename Name->LocalName for local 2024-10-29 16:10:29 -04:00
types.required_plugins.go fix: packer validate unsupported type error 2025-01-21 10:06:45 -05:00
types.required_plugins_test.go packer: relax constraints on sources 2024-04-29 14:28:24 -04:00
types.source.go IMPROV: Populating the PackerSensitiveVars variable 2025-06-24 21:36:50 +05:30
types.source_test.go Fixed Test Cases 2025-06-24 21:36:50 +05:30
types.variables.go hcl2template: rename Name->LocalName for local 2024-10-29 16:10:29 -04:00
types.variables_test.go Fixed Test Cases 2025-06-24 21:36:50 +05:30
utils.go hcl2template: split GetVarsByType in two functions 2024-06-17 16:51:58 -04:00
version.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
version_required.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00