There is an official Terraform task maintained by MS, its preferable to use that one.
Its 2020, use Terraform 0.12, not 0.11 please
For best practices, dont use values in your *.tf files, instead create a variables.tf or even variables.dev.tf or what ever naming schema/folder structure you want so its visible to what env it belongs, and in the plan and apply add to the command -var-file=variables.dev.tf for dev and change per stage. This way executing the same steps for diff env doesnt require messing with azure devops but rather committing files to the repo which is the true essence of IAC
Hey Arie, I agree with you. I´ll try to update this post since I created this tutorial some time ago.
For this tutorial, I focused on just deploy infrastructure using Azure DevOps and left behind some best practices like the variables file. Thanks for your comment.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Few points to add:
Hey Arie, I agree with you. I´ll try to update this post since I created this tutorial some time ago.
For this tutorial, I focused on just deploy infrastructure using Azure DevOps and left behind some best practices like the variables file. Thanks for your comment.