Provider
HCP provider for Terraform
Use the HCP provider for Terraform to query images in your Terraform configurations rather than hard-coding them.
Use case
Create multi-cloud golden image pipelines with HCP Packer and Terraform Cloud.
Challenge
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 provisioned are secure, compliant, and up-to-date?
Solution
Use Terraform to launch completely provisioned and configured machine instances with Packer images in seconds. By provisioning instances from stable images installed and configured by Packer, you can ensure buggy software does not get 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.
Provider
Use the HCP provider for Terraform to query images in your Terraform configurations rather than hard-coding them.
Documentation
The HCP Packer image validation run task validates whether your Terraform configuration references revoked images.
Documentation
Proactively detect infrastructure using old images with continuous validation in Terraform Cloud.
Create a customized image using Packer, then deploy this image using Terraform.
Set up the Terraform Cloud run task integration with HCP Packer, which validates that the machine images in your Terraform configuration are not revoked.
Use the Terraform Cloud run task for HCP Packer to prevent your Terraform configuration from referencing revoked image iterations.