Terraform in Azure DevOps: Using GitHub Repo Without Cloning – Need Help!

Hi everyone,

I’m trying to run Terraform in an Azure DevOps (ADO) pipeline, where all Terraform files (main.tf, variables.tf, outputs.tf, and modules) are stored in a GitHub repository. However, I only have a .tfvars file in my ADO server and do not want to clone or fork the GitHub repo.

Is it possible to make this work? If so, where should I specify the GitHub repository containing the Terraform files?

In Azure DevOps, can you edit/specify parameters and use something like Input Variables - Configuration Language | Terraform | HashiCorp Developer to point to your tfvars file?