packer/website/content/docs
Lucas Bajolet ec1d2e68f5 hcp: generate fingerprints on each new build
Fingerprints are how we link a packer build to an iteration on HCP.
These are computed automatically from the Git SHA in the current state,
and are unique to the bucket/iteration.

The main problem with this approach is that while sound in theory, it
quickly falls apart when users want to run the same build configuration
twice, but expect a new image to be created.

With the current model, this fails, as the iteration with the current
SHA already exists.

While this is solvable through environment variables, or by committing a
change to the repository, we think this is not clear enough, and causes
an extra step to what should otherwise be a simple process.

Therefore, to lower the barrier of entry into HCP, we change this
behaviour with this commit.

Now, fingerprints are randomly generated ULIDs instead of a git SHA, and
a new one is always generated, unless one is already specified in the
environment.

This makes continuation of an existing iteration a conscious choice
rather than something automatic, and virtually eliminates conflicts such
as the ones described above.
2023-01-25 15:29:26 -05:00
..
builders fix: update redirected and broken links (#12060) 2022-10-21 11:00:58 -04:00
commands website: add docs for variable warning bypass opts 2022-11-17 09:29:55 -05:00
communicators fix: update redirected and broken links (#12060) 2022-10-21 11:00:58 -04:00
datasources datasource: remove packer-image-iteration 2022-11-17 15:47:01 -05:00
hcp hcp: generate fingerprints on each new build 2023-01-25 15:29:26 -05:00
intro [HPR-574] Add documentation for configuring Packer for HCP Packer (#12022) 2022-10-24 12:51:14 -04:00
plugins fix: update redirected and broken links (#12060) 2022-10-21 11:00:58 -04:00
post-processors fix: update redirected and broken links (#12060) 2022-10-21 11:00:58 -04:00
provisioners fix: update redirected and broken links (#12060) 2022-10-21 11:00:58 -04:00
templates Update variables documentation to refer to Packer not Terraform (#12220) 2023-01-25 10:39:33 -05:00
configure.mdx [HPR-574] Add documentation for configuring Packer for HCP Packer (#12022) 2022-10-24 12:51:14 -04:00
debugging.mdx Fix capitalizations in docs 2022-08-05 13:42:56 -04:00
index.mdx [HPR-574] Add documentation for configuring Packer for HCP Packer (#12022) 2022-10-24 12:51:14 -04:00
install.mdx Updating old learn link 2023-01-16 09:38:53 -05:00
partnerships.mdx Updating link to use cases docs page 2023-01-16 09:38:53 -05:00
terminology.mdx Added mention of HCL in Terminology>Templates (#11749) 2022-05-04 15:27:54 -04:00