I am a beginner in the terratesting. I have an assignment where I have to perform terratesting for InfraStructure code that I wrote in terraform. I went through the documentation "https://terratest.gruntwork.io/docs/getting-started/introduction/". And so far I am able to perform terratest for Azure in VS code locally. I wanted to do it in Azure DevOps Pipeline. Is there a way to perform these test cases in Azure DevOps pipelines?
And so far I am able to perform terratest for Azure in VS code locally. I wanted to do it in Azure DevOps Pipeline. Is there a way to perform these test cases in Azure DevOps pipelines?
Actually we normally test Terraform modules using Terratest in Azure
instead of Azure Devops Service
. You can follow Tutorial:Test Terraform modules in Azure using Terratest if you're interested in doing that in Azure.
But if you do need some directions about is it possible and how to do that using Azure Devops Pipelines, the answer is yes. And here's one great blog from Julien Corioland: Continuous Integration using Docker and Azure Pipeline. Hope it helps :)