Running Terraform in automation
Common techniques for running Terraform in continuous delivery pipelines.
Use case
Automate infrastructure deployments through existing CI/CD workflows.
Challenge
In the cloud, organizations have the challenge of maintaining their existing resources, private clouds, and datacenters while simultaneously developing new applications and services that leverage the public cloud’s benefits. Many enterprises soon discover each cloud provider operates differently and they must choose among a vast array of workflows and processes to consume.
Solution
HCP Terraform provides a flexible remote runtime environment that can be easily integrated into existing version control systems, CI/CD pipelines, and IT service management interfaces. This level of integration with existing workflows minimizes tooling changes, streamlines the process of getting up and running, and ensures consistency for platform teams and developers alike.
Common techniques for running Terraform in continuous delivery pipelines.
Automate infrastructure deployments with CI/CD using HCP Terraform and GitHub Actions.
Create Terraform infrastructure in a CircleCI pipeline and learn automation best practices.
In the VCS workflow, every workspace is associated with a specific branch of a VCS repo of Terraform configurations.
The CLI-driven run workflow uses Terraform's standard CLI tools to execute runs in HCP Terraform.
The API-driven run workflow is more flexible but requires you to create some tooling.