Terraform File Structure For Azure DevOps

This post is mainly a post for myself so that I remember how I structure Terraform for when I am deploying it in Azure DevOps. File Structure main.tf providers.tf backend.tf variables.tf variables.tfvars modules main.tf The main file just contains your terraform resource and module blocks, not much needs to be explained here. providers.tf Here is where we can set the version of terraform if we want to ensure that only a certain version of Terraform is used....

July 11, 2022 · 3 min · 459 words · Nick Wilkinson