Use case

Integrate with Terraform

Create multi-cloud golden image pipelines with HCP Packer and HCP Terraform.

Challenge

Image management needs to move at the speed of deployment

Terraform enables teams to dynamically provision multi-cloud self-service infrastructure. But how do your teams keep track of and update images used within these provisioning pipelines? How do you know that all image artifacts being provisioned are secure, compliant, and up to date?

Solution

Bridge the gap between image factories and image deployments

Use Terraform to launch completely configured machine and container instances from Packer images in seconds. By provisioning instances from known-good images built by Packer, you can ensure only approved configurations are deployed. With the HCP provider for Terraform, the Packer data source allows teams to codify images in Terraform configuration files rather than hard-coding them.

HCP Packer Workflow with HCP Terraform
Petco color logo
Petco logo
Customer case study

Redeploying stateless systems in lieu of patching at Petco with Packer and Terraform

Dive deep into Petco’s method for reducing the cost of updating stateless on-premises virtual machines via automated redeployment using HashiCorp Packer and private Terraform Enterprise.

Ready to get started?

Quickly get hands-on with HCP Packer and HCP Terraform to manage your deployment workflows today.

HashiCorp uses data collected by cookies and JavaScript libraries to improve your browsing experience, analyze site traffic, and increase the overall performance of our site. By using our website, you’re agreeing to our Privacy Policy and Cookie Policy.

The categories below outline which companies and tools we use for collecting data. To opt out of a category of data collection, set the toggle to “Off” and save your preferences.