You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @mortenn , thanks for raising this issue. You will need to install the extension to use TerraformTaskV4 or to install Terraform. You could login your account and install it from Visual Studio Market Place.
Setting up the Terraform extension in your Azure DevOps pipeline involves a few key steps. Here’s a simplified guide to get you started:
Install the Terraform Extension:
Go to the Visual Studio Marketplace and find the Terraform extension.
Install it to your Azure DevOps organization.
Create a Service Connection:
In Azure DevOps, navigate to ‘Project settings’ > ‘Service connections’.
Create a new service connection for Azure Resource Manager, providing the necessary permissions.
Set Up a New Pipeline:
In your Azure DevOps project, go to ‘Pipelines’ > ‘New pipeline’.
Connect to the repository where your Terraform configuration files are stored.
Define Your Pipeline YAML:
Use the YAML editor to define the pipeline stages, which will include Terraform commands like init, validate, plan, and apply.
Specify the Terraform version and the service connection to use.
Run the Pipeline:
Save and run your pipeline to execute the Terraform code and deploy your infrastructure.
Is there an existing issue for this?
Community Note
Terraform Version
latest in ubuntu image
AzureRM Provider Version
3.99.0
Affected Resource(s)/Data Source(s)
n/a
Terraform Configuration Files
n/a
Debug Output/Panic Output
Expected Behaviour
The docs should contain information about how to use the TerraformTaskV4@4 task or a link to documentation for the task
Actual Behaviour
The docs just says to use the task to easily connect, but the pipeline editor in devops claims the task does not exist
Steps to Reproduce
Open the docs at this url: https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/guides/service_principal_oidc#setting-up-an-application-and-service-principal-in-azure
Scroll down near the bottom, to the section "Azure DevOps Pipelines"
Read the sentence "Use the TerraformTaskV4@4 task to easily connect Terraform to Azure using your workload identity."
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: