• HashiCorp Developer

  • HashiCorp Cloud Platform
  • Terraform
  • Packer
  • Consul
  • Vault
  • Boundary
  • Nomad
  • Waypoint
  • Vagrant
Packer
  • Install
  • Tutorials
  • Documentation
  • Guides
  • Plugins
  • Try Cloud(opens in new tab)
  • Sign up
Packer Home

Documentation

Skip to main content
  • Documentation
  • HCP Packer

  • Terminology

    • Overview
      • Overview
      • Iteration
      • Image
    • HTTP

  • Installing Packer
  • Configuring Packer

  • Integration Program

  • Debugging

  • Resources

  • Tutorial Library
  • Community Forum
    (opens in new tab)
  • Support
    (opens in new tab)
  • GitHub
    (opens in new tab)
  1. Developer
  2. Packer
  3. Documentation
  4. Data Sources
  5. HCP Packer
  • Packer
  • v1.7.x
  • v1.6.x
  • v1.5.x
Official

ยป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 - retrieves information about an iteration in HCP Packer registry
  • 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.

Edit this page on GitHub

On this page

  1. HCP Packer Registry Data sources
  2. How to use this plugin
Give Feedback(opens in new tab)
  • Certifications
  • System Status
  • Terms of Use
  • Security
  • Privacy
  • Trademark Policy
  • Trade Controls
  • Give Feedback(opens in new tab)