We have just seen an example of Terraform code to provision an Azure infrastructure, but it is also useful to look at some good practices for writing Terraform code.