Terraform and Azure DevOps pipelines

0 votes

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.


Apr 22, 2022 in Other DevOps Questions by Kichu
• 19,050 points

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Other DevOps Questions

0 votes
1 answer
0 votes
1 answer

Create an automatic PR and complete it Azure DevOps

You can retrieve the creator ID after ...READ MORE

answered Feb 9, 2022 in Other DevOps Questions by Bhavitha
• 1,000 points
0 votes
1 answer
0 votes
0 answers
0 votes
0 answers
0 votes
1 answer
0 votes
2 answers

Which is better azure devops or aws devops?

Azure DevOps, a part of Microsoft's cloud ...READ MORE

answered Jan 8 in Cloud Computing by anonymous
• 700 points
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP