1
0
mirror of https://github.com/hashicorp/packer.git synced 2026-02-05 12:45:10 +01:00

5179 Commits

Author SHA1 Message Date
Tanmay Jain
2f8390857a Merge pull request #13532 from hashicorp/channel-assignment
FEAT: Adds support for updating HCP Packer registry channels
2025-12-15 12:27:51 +05:30
Tanmay Jain
0e354e503b FEAT: Adds support for updating HCP Packer registry channels
Enables specifying channels in the build configuration to automatically update existing HCP Packer registry channels to point to the new build version upon completion. Improves workflow automation and reduces manual channel management for users.
2025-11-21 12:43:46 +05:30
Leah Bush
e9d220436d feat: add docs to packer docs 2025-11-19 16:24:25 -06:00
Anurag Sharma
543123ac17 bump golang.org/x/crypto to 0.43.0 (#13518)
* bump golang.org/x/crypto to 0.43.0
CVE-2025-47913 GO-2025-4116

* fixed go.sum

* fixed multiple warnings that prevented test runs

* make generate

* fix lint errors, update linter version

* fix go vet issues
2025-11-18 15:49:03 +05:30
kp2099
a3b3139883 Merge pull request #13438 from hashicorp/packer-plugin-release-notice
Add callouts for the move of HashiCorp-maintained plugins to releases.hashicorp.com
2025-09-08 15:02:29 +05:30
Leah Bush
9b6cc86978 feat: upgrade node to v22 2025-08-20 08:34:00 -07:00
Jenna Goldstrich
40bea58c92 Fix incorrect Credential file default path in docs (#13447)
should be ~/.config/hcp/cred_file.json
2025-08-13 15:26:45 +05:30
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
Brian McClain
e69859a701 Update website/content/docs/plugins/install.mdx
Co-authored-by: rita <8647768+ritsok@users.noreply.github.com>
2025-08-01 16:17:59 -04:00
Brian McClain
6c16dedcad Update wording to only apply to specifically listed plugins 2025-08-01 11:46:56 -04:00
Brian McClain
a522e10b29 Add callouts for the move of HashiCorp-maintained plugins to releases.hashicorp.com 2025-08-01 10:45:48 -04:00
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 <ryan@tenthirtyam.org>
2025-07-23 11:57:16 -07:00
Nick Philbrook
d8438b06e0 Add note about *just metadata* 2025-07-14 14:08:37 -07:00
nphilbrook
517a0eac9c Update website/content/docs/templates/hcl_templates/blocks/build/hcp_packer_registry.mdx
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
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 <ryan.johnson@broadcom.com>
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
Jenna Goldstrich
78561b84e4 Bump Next.JS 2025-05-01 15:01:00 -07:00
karthik P
6ef741d5f5 adding fn to nav data json 2025-04-28 10:51:47 +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
Tanmay Jain
fe92097451 Added Documentaion Comments for SSH Tunnel flags 2025-04-07 17:42:49 +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
Louis Sautier
665ee15689 website: fix repeated word in link to hcl2_upgrade command doc
Fixed to match what was done in
website/content/partials/from-1.5/beta-hcl2-note.mdx.

Signed-off-by: Louis Sautier <sautier.louis@gmail.com>
2025-02-06 21:37:28 +01: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-adam
f46d0f6da4 Update website/content/docs/templates/legacy_json_templates/user-variables.mdx
Co-authored-by: Ruben Nic <RubenSandwich@users.noreply.github.com>
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-adam
3ddaae6e68 Apply suggestions from code review
Co-authored-by: rita <8647768+ritsok@users.noreply.github.com>
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
4b45e151de fixed typo in redirects 2025-01-30 10:28:12 -08:00
trujillo-adam
c3df63af1e removed 'learn to' keyword phrases 2025-01-30 10:14:03 -08:00
trujillo-adam
3e3459b3a8 Update website/content/docs/templates/hcl_templates/functions/encoding/base64decode.mdx
Co-authored-by: rita <8647768+ritsok@users.noreply.github.com>
2025-01-30 10:06:13 -08:00
trujillo-adam
06af5e646d Apply suggestions from code review
Co-authored-by: rita <8647768+ritsok@users.noreply.github.com>
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