packer/website/content
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
..
docs hcp: generate fingerprints on each new build 2023-01-25 15:29:26 -05:00
guides website: fix intro link (#12076) 2022-10-24 15:24:42 -04:00
partials datasource: remove packer-image-iteration 2022-11-17 15:47:01 -05:00
plugins Update plugin docs - devdot launch (#11978) 2022-09-15 18:12:37 -04:00
community-plugins.mdx Fixes typos in docs (#11322) 2021-10-11 10:19:49 +02:00
community-tools.mdx fix: update redirected and broken links (#12060) 2022-10-21 11:00:58 -04:00
security.mdx remove layout frontmatter prop 2020-12-14 18:20:03 -05:00