Commit Graph
420 Commits
Author SHA1 Message Date
Jenna Goldstrich 65bddb3864 Fix incorrect Credential file default path in docs, should be ~/.config/hcp/cred_file.json 2025-08-12 09:54:18 -07:00
Jenna Goldstrich 8a376a8845 HCP Certificate Authentication Support (#13435)
* Add support for using a certificate file instead of HCP Client Credentials to authenticate to HashiCorp Cloud Platform

* Docs

* Change certificate auth warnings to print to stdio

* rough draft docs

* Update comments

* Parse home directory correctly, default directory certs don't work before this

* cred-file => cred_file, and add unit test

* Fix invalid log, and use full path in log messages and error messages

* Fix original file not being reset in unit test

* Move test statements around to validate Windows behavior

* Use a 'windows friendly' path

* The issue here was the path error'd on mac and linux, but not Windows, when I swapped to the different path then nothing error'd causing everything to fail, I think this should fix it on 3 platforms

* 1.14.1 => 1.14.2
2025-08-12 10:40:55 +05:30
anshulSharma f1f02ee505 doc changes about CRT migration (#13433)
* doc changes about CRT migration

* docs changes suggested

* docs changes suggested

* docs changes suggested

* typo fix

* typo fix
2025-07-29 18:50:21 +05:30
Ryan Johnson e45ff9b093 docs: add conditional expressions
This update adds a new section explaining conditional expressions in HCL, including syntax, usage examples, and best practices for clarity and maintainability. The documentation covers how to use conditionals for default values, dynamic argument omission, and recommends using locals for complex logic.

Ref: #12806

Signed-off-by: Ryan Johnson <[email protected]>
2025-07-23 11:57:16 -07:00
Nick Philbrook d8438b06e0 Add note about *just metadata* 2025-07-14 14:08:37 -07:00
nphilbrookandtrujillo-adam 517a0eac9c Update website/content/docs/templates/hcl_templates/blocks/build/hcp_packer_registry.mdx
Co-authored-by: trujillo-adam <[email protected]>
2025-07-14 14:08:37 -07:00
Nick Philbrook d7cd980123 move hcp_packer_registry block out of the build block as per error message with current CLI 2025-07-14 14:08:37 -07:00
Bart Dorlandt 548a0376ff Fix typo 2025-06-07 15:17:50 +02:00
anshulSharma 3c867aa571 docs: add upgrade/release notes for 1.13.0 (#13394)
* docs: add upgrade/release notes for 1.13.0

* docs: add upgrade/release notes for 1.13.0
2025-06-04 08:15:16 +05:30
Ryan Johnson bb4570b9dd docs: update link to vsphere examples
Updated the link for the Packer Examples for VMware vSphere after a repository transfer.

Signed-off-by: Ryan Johnson <[email protected]>
2025-05-06 13:05:07 -07:00
Anurag Sharma 373727556b fix(docs): correct firewall command for WinRM HTTPS setup 2025-05-06 09:58:49 +05:30
anshulSharma e8d5ddb38a formatting multiple hcl files (#13362)
* formatting multiple hcl files

* recursive formating

* test case fixing

* test case fix

* removed not required code

* existing test code fix

* go formatting

* more test cases for new cases

* doc changes

* added additional check on error message in negative test case
2025-05-02 10:16:00 +05:30
karthik P 5bfd778aa7 adding docs for filebase64 function 2025-04-24 23:05:04 +05:30
Anurag Sharma a5ac97f5d2 docs: issues when temp is noexec 2025-04-17 10:38:16 +05:30
Anurag Sharma d155ec0815 fix note not showing up 2025-04-15 15:31:15 +05:30
Anurag Sharma 1a8dd4b63f revert changes to debugging mdx 2025-04-15 15:10:17 +05:30
Anurag Sharma 80379bae09 docs: improve clarity on TMPDIR usage during plugin installation 2025-04-15 15:03:21 +05:30
Karthik P 51eeadba3d feat: add sum, startswith and endswith functions
This commit adds 3 new HCL2 functions:

* `sum`: computes the sum of a collection of numerical values
* `startswith`: checks if a string has another as prefix
* `endswith`: checks if a string has another as suffix
2025-04-14 11:49:36 -04:00
Anurag Sharma 8ea6e51add reformat the file 2025-04-10 13:23:28 +05:30
Anurag Sharma cab5be8ecf docs: issues when temp is noexec 2025-04-10 13:12:43 +05:30
trujillo-adam 35eed086c1 Replace .io links with devdot links (#13335)
* replace .io links with devdot links

* update links in website docs readme
2025-03-28 07:10:47 -07:00
Karthik P 1896739a4c docs: add installing plugins from a compiled binary example 2025-03-06 12:06:03 -05:00
Tanmay Jain 736a6cbc98 UPDATE: Added a note for adding forward slash while copying files 2025-03-03 16:52:08 -05:00
Martin Grogan 43383a22e2 docs: add PACKER_GETTER_READ_TIMEOUT in config 2025-03-03 16:45:04 -05:00
trujillo-adam 10fa414030 Merge pull request #13286 from hashicorp/docs/packer-seo-fy2025q4
Docs/packer seo fy2025q4
2025-02-03 10:59:36 -08:00
trujillo-adamandRuben Nic f46d0f6da4 Update website/content/docs/templates/legacy_json_templates/user-variables.mdx
Co-authored-by: Ruben Nic <[email protected]>
2025-01-31 14:28:18 -08:00
trujillo-adam cf716c73ed Merge pull request #13285 from hashicorp/docs/packer-seo-final-batch
remaining packer content
2025-01-31 14:27:03 -08:00
trujillo-adamandrita 3ddaae6e68 Apply suggestions from code review
Co-authored-by: rita <[email protected]>
2025-01-31 14:09:46 -08:00
trujillo-adam c310eac0cc Merge pull request #13284 from hashicorp/docs/packer-seo-functions-batch3
Docs/packer seo functions batch3
2025-01-30 11:08:48 -08:00
trujillo-adam 090b30e8a3 fix missing partials 2025-01-30 11:01:36 -08:00
trujillo-adam 0f30246355 formatting error in page desc 2025-01-30 10:37:42 -08:00
trujillo-adam c3df63af1e removed 'learn to' keyword phrases 2025-01-30 10:14:03 -08:00
trujillo-adamandrita 3e3459b3a8 Update website/content/docs/templates/hcl_templates/functions/encoding/base64decode.mdx
Co-authored-by: rita <[email protected]>
2025-01-30 10:06:13 -08:00
trujillo-adamandrita 06af5e646d Apply suggestions from code review
Co-authored-by: rita <[email protected]>
2025-01-30 10:05:01 -08:00
trujillo-adam cf46ce621f remaining packer content 2025-01-29 16:14:35 -08:00
trujillo-adam 8e6c32ce19 fix typo 2025-01-29 14:15:55 -08:00
trujillo-adam 0c0f7a6c41 Merge pull request #13282 from hashicorp/docs/packer-seo-templates-batch1
Docs/packer seo templates batch1
2025-01-29 10:41:19 -08:00
trujillo-adam f46a4351e6 Apply suggestions from code review 2025-01-29 10:36:05 -08:00
trujillo-adam b417abafa0 ipnet and uuid funcs 2025-01-29 10:18:14 -08:00
trujillo-adam d8fa10e6eb string functions 2025-01-29 09:51:34 -08:00
trujillo-adamandRose M Koron f86801abc6 Apply suggestions from code review
Co-authored-by: Rose M Koron <[email protected]>
2025-01-29 08:33:36 -08:00
trujillo-adamandBrian McClain ad18e70980 Apply suggestions from code review
Co-authored-by: Brian McClain <[email protected]>
2025-01-29 08:15:40 -08:00
trujillo-adam 8b84cce611 numeric and conversion functions 2025-01-28 16:00:32 -08:00
trujillo-adam 8ad24fd454 encoding functions 2025-01-28 15:39:09 -08:00
trujillo-adam 2929047d88 contextual and datatime functions 2025-01-28 14:59:40 -08:00
trujillo-adam 75678c5de2 file functions references 2025-01-28 12:15:44 -08:00
trujillo-adam 953c814ad5 crypto and collection functions references 2025-01-28 11:22:54 -08:00
trujillo-adam 54da4b047f hcl templates content except functions 2025-01-28 09:44:33 -08:00
trujillo-adam a9ada1d19d hcl template blocks 2025-01-27 14:44:31 -08:00
trujillo-adam c5036e233d Merge pull request #13273 from hashicorp/docs/packer-seo-provs
updated provisioners reference topics
2025-01-24 14:18:57 -08:00