github.com/hashicorp/packer@v1.14.3/website/content/docs/datasources/hcp/index.mdx (about) 1 --- 2 description: | 3 HCP Packer data sources query data stored to the HCP Packer registry. Use the data sources when your artifact metadata is centralized in HCP. 4 page_title: HCP Packer Registry Data sources overview 5 sidebar_title: Overview 6 --- 7 8 <BadgesHeader> 9 <PluginBadge type="official" /> 10 </BadgesHeader> 11 12 # HCP Packer Registry data sources overview 13 14 The HCP Packer Registry connects artifact factories and artifact 15 deployments so that development and security teams can work together to create, 16 manage, and consume artifacts in a centralized way. 17 18 ## Introduction 19 20 The HCP Packer Registry stores metadata about your artifacts, including when they 21 were created, where the artifacts exists in the cloud, and git commit 22 information associated with your build. You can use the registry to track 23 information about the artifacts your Packer builds produce, clearly 24 designate which artifacts are appropriate for test and production environments, 25 and query for the right artifacts to use in both Packer and Terraform 26 configurations. 27 28 The following Packer data sources work together to determine and retrieve information from the 29 HCP Packer registry: 30 31 - [hcp-packer-version](/packer/docs/datasources/hcp/hcp-packer-version): Retrieves information about an HCP Packer version in the HCP Packer registry. 32 - [hcp-packer-artifact](/packer/docs/datasources/hcp/hcp-packer-artifact): Retrieves 33 information about a specific artifact created in the HCP Packer registry. 34 35 The following data source types are deprecated since v1.10.1: 36 37 - [hcp-packer-iteration](/packer/docs/datasources/hcp/hcp-packer-iteration): Retrieves information about an iteration in HCP Packer registry. This data source type is deprecated. Use `hcp-packer-version` instead. 38 - [hcp-packer-image](/packer/docs/datasources/hcp/hcp-packer-image): Retrieves 39 information about a specific image created in the HCP Packer registry. This data source type is deprecated. Use `hcp-packer-artifact` instead.