Really short and straight to the point post. 😀
I use the ‘Terraform Tasks for Azure DevOps‘ extensions which makes using Terraform with Azure Devops an absolute breeze
I have a build pipleline which initiates the remote storage for the Terraform state file, perfoms the Terraform init and the Terraform plan, all relevant files are then published as an artifact.
A release pipeline then picks up the published artificat, performs another Terraform init and then a Terraform apply