I am accessing the terraform module through the terraform code as shown below.
module "resourcegroup" {
source = "git::https://github.com/hashicorp/example.git//azure-modules/resourcegroup"
}
I did the Terraform development through VS Code. I'm creating a build and release pipeline to automate the terraform tasks.
The release pipeline contains the Terraform tasks created using the Microsoft DevLabs extension:
- Install Terraform task.
- Terraform Init task which reads the Configuration Directory from the folder where the Build Pipeline places it.
- The Terraform plan and apply tasks.
The issue that I'm having is:
- The terraform files point to GitHub for building the modules, the release pipeline hangs in the task - Terraform Init.
- The error message is:
Waiting for console output from an agent... (-input=false was also provided in the Terraform Init task under Additional command arguments but it didn't resolve the issue)
- There is no option to mention the Service Connection in the Release pipeline.