Files
Packer-Cn/website/content/docs/datasources/hcp/index.mdx
T
50da6c8dc8 docs: Migrate link formats (#12192)
* Adding check-legacy-links-format workflow

* Adding test-link-rewrites workflow

* Migrating links to new format

* Updating docs-content-check-legacy-links-format hash

* chore: update source

* Update generated partials from Packer plugin SDK

* Bump packer-plugin-sdk to get latest packer-sdc

* Update website/content/docs/templates/hcl_templates/blocks/build/provisioner.mdx

* Update Plugin SDK to fix shell-local regression

---------

Co-authored-by: Kendall Strautman <[email protected]>
Co-authored-by: Wilken Rivera <[email protected]>
Co-authored-by: Kendall Strautman <[email protected]>
2023-01-27 09:47:08 -08:00

42 lines
1.6 KiB
Plaintext

---
description: |
Data sources used to data from the HCP Packer registry.
page_title: HCP - Data sources
sidebar_title: Overview
---
<BadgesHeader>
<PluginBadge type="official" />
</BadgesHeader>
# HCP Packer Registry Data sources
The HCP Packer registry bridges the gap between image factories and image
deployments, allowing development and security teams to work together to create,
manage, and consume images in a centralized way.
The HCP Packer registry stores metadata about your images, including when they
were created, where the image exists in the cloud, and what (if any) git commit
is associated with your image build. You can use the registry to track
information about the golden images your Packer builds produce, clearly
designate which images are appropriate for test and production environments,
and query for the right golden images to use in both Packer and Terraform
configurations.
Packer has two data sources that work together to retrieve information from the
HCP Packer registry:
- [hcp-packer-iteration](/packer/docs/datasources/hcp/hcp-packer-iteration) -
retrieves information about an iteration in HCP Packer registry
- [hcp-packer-image](/packer/docs/datasources/hcp/hcp-packer-image) - retrieves
information about a specific image created in the HCP Packer registry
These data sources are intended to be used together to determine source images
for pipelined Packer builds.
## How to use this plugin
This plugin comes bundled with the Packer core, so you do not need to install
it separately. Please install Packer v1.7.7 or above to use the latest version
of the HCP Packer registry datasources.