Summary
In this chapter, we did a deep dive into using Terraform to deploy our WordPress environment in Microsoft Azure. We discussed the Terraform providers and worked through the Terraform code before finally executing it.
Also, as part of this walkthrough, we discussed some of the considerations you need to make when looping through resources, when it’s appropriate to use depends_on
, and how we can use templates to generate content.
Next up, we walked through the Ansible code, which deploys the same set of resources. This time, rather than a deep dive, we only went into detail on the Azure-specific details, as we will take a closer look at Ansible in Chapter 5, Deploying to Amazon Web Services.
Everything we covered so far should hopefully start to get you thinking about how you can apply some of the subjects we have covered to your own Infrastructure-as-Code deployments and you should already be starting to get a feel for which of the two tools you prefer.
In...