Why Do I Get this Error “Delegate Capability Issue To Execute:Git” While Deploying the Application In The Harness CD?


  • Harness Continuous Delivery


  • Infrastructure: Harness Saas
  • OS: Mac, Windows or Linux


I want to deploy an application and while executing, my pipeline failed with the error:

No eligible Delegate was able to confirm that it has the capability to perform [ terraform, GIT:[ https://github.com/******/*****.git](https://github.com/wings-software/terraform.git), tfgitdelegate, GIT:[ https://github.com/******/*****/](https://github.com/wings-software/terraform/), and 1 more... ]. How to resolve the issue?


Delegate capability issues can be listed for multiple reasons and vary from use-case to use-case. By default, Terraform is installed at the Delegate startup except for a few versions of Terraform. In this case, you can install Terraform and Git on the Delegate cluster using a Shell Script step picked from Step Library on your Pipeline Studio using the following steps:

  1. Navigate to Add Step

  1. Choose Shell Script from Step Library

  1. Add this command in your shell script step.
  • For installing Terraform
if which terraform; then
echo found terraform
curl -O https://releases.hashicorp.com/terraform/0.12.18/terraform_0.12.18_linux_amd64.zip
unzip terraform_0.12.18_linux_amd64.zip
chmod 755 terraform
mv terraform /usr/local/bin
  • For installing GIT
echo "yes" apt install git

apt update
  1. Once you add this step and then create a deployment step. Save and Run. You will not have this issue anymore.