Getting started with Terraform
Terraform is HashiCorp's star IaC product. They define it as a tool that can be used to provision and manage any cloud, infrastructure, or service. Terraform's architecture is based on hundreds of providers, among which is the Azure provider. The value proposal of Terraform is to propose a common way to define IaC templates, no matter the target platform. The least we can say is that HashiCorp succeeded in making a very broad and good product. In addition to the official providers, there are also dozens of community-provided providers. Terraform's most important commands are the following:
init
: Used only when referencing a new provider or a new provider versionplan
: An optional step for comparing the known state with the new desired stateapply
: A command to apply the new desired state for the resources defined in the template
Templates are written in HCL (HashiCorp configuration language – https://www.terraform...