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 in Other DevOps Questions by Kichu
• 16,850 points
18 views

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 in Other DevOps Questions by Bhavitha
• 980 points
148 views
0 votes
1 answer
0 votes
0 answers
0 votes
1 answer

Which is better azure devops or aws devops?

Hi, It depends according to your use case. ...READ MORE

answered Sep 21, 2020 in Cloud Computing by MD
• 95,340 points
1,184 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP