Skip to main content

CLI Integration

The CLI Integration tab is designed to assist users in integrating Terraform CLI with Harness as a backend.

sunset existing backend

This backend configuration is suitable for teams looking to decommission their existing Terraform state backends and transition to managing state in Harness.

Additional Notes

  • Why Choose Harness as a Backend? Using Harness as your backend for Terraform allows you to centralize and secure Terraform state, with additional benefits like access control, auditing, and drift detection.
  • Considerations for Migrating: If you’re migrating from an existing backend (e.g., AWS S3, Azure Blob Storage), ensure that you properly transition your state to Harness. You can follow the Terraform documentation on state migration to avoid downtime.

By following these steps, you’ll be able to set up Harness as your Terraform backend and securely manage your state using environment variables for authentication.