Network Drivers

Consul-Terraform-Sync (CTS) uses network drivers to execute and update network infrastructure. Drivers transform Consul service-level information into downstream changes by processing and abstracting API and resource details tied to specific network infrastructure.

CTS is a HashiCorp solution to Network Infrastructure Automation. It bridges Consul’s networking features and Terraform infrastructure management capabilities. The solution seamlessly embeds Terraform as network drivers to manage automation of Terraform modules. This expands the Consul ecosystem and taps into the rich features and community of Terraform and Terraform providers.

The following table highlights some of the additional features Terraform and Terraform Cloud offer when used as a network driver for CTS. Visit the Terraform product page or contact our sales team for a comprehensive list of features.

Network DriverDescriptionFeatures
Terraform driverCTS automates a local installation of the Terraform CLI- Local Terraform execution
- Local workspace directories
- Backend options available for state storage
Terraform Cloud driverCTS Enterprise automates remote workspaces on Terraform Cloud- Remote Terraform execution
- Concurrent runs
- Secured variables
- State versions
- Sentinel to enforce governance policies as code
- Audit logs and trails
- Run history, triggers, and notifications
- Terraform Cloud Agents

Understanding Terraform Automation

CTS automates Terraform execution using a templated configuration to carry out infrastructure changes. The auto-generated configuration leverages input variables sourced from Consul and builds on top of reusable Terraform modules published and maintained by HashiCorp partners and the community. CTS can also run your custom built modules that suit your team’s specific network automation needs.

The network driver for CTS determines how the Terraform automation operates. Visit the driver pages to read more about the Terraform driver and the Terraform Cloud driver.

Upgrading Terraform

Upgrading the Terraform version used by CTS may introduce breaking changes that can impact the Terraform modules. Refer to the Terraform upgrade guides for details before upgrading.

The following versions were identified as containing changes that may impact Terraform modules.