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 HCP Terraform.
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 being provisioned are secure, compliant, and up to date?
Solution
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.
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 HCP Terraform.
Create a customized image using Packer, then deploy this image using Terraform.
Set up the HCP Terraform run task integration with HCP Packer, which validates that the images in your Terraform configuration are not revoked.
Use the HCP Terraform run task for HCP Packer to prevent your Terraform configuration from referencing revoked image versions.