In this chapter, we finally got hands-on interaction with Salt by deploying an infrastructure through IaC. We used Terraform to set up our initial environment and to start using Terraform, we simply downloaded the binary from terraform.io. The version of Terraform can be checked through the terraform version command. With Terraform installed, we obtained the correct details to connect to our Azure subscription using the AZ CLI.
Once Terraform was able to connect to Azure, we proceeded to create the IaC declaration file, which contained the necessary information to correctly deploy the resources we wanted in Azure, the way we wanted it.
With the deployment up and running through Terraform, we then moved into installing Salt. This can be done in two different ways, through the package manager of the OS (yum and apt) or through a bootstrap script.
When installing through...