Ansible tasks and modules
-
Introduction to configuration management – Infrastructure as Code (IaC) with Terraform-1
CM, in the realm of technology and systems administration, can be compared to the role of a conductor leading an orchestra. Imagine yourself guiding a group of musicians, each playing…
-
Cleaning up – Infrastructure as Code (IaC) with Terraform
Now, let’s go ahead and clean up both resource groups to avoid unnecessary charges. As we’re already within the test workspace, let’s run the following command to destroy resources within…
-
Inspecting resources – Infrastructure as Code (IaC) with Terraform
Let’s use the az command to list the resource groups. As we know, our resource groups have a resource group prefix of terraform-ws. Therefore, use the following command to list…
-
Terraform modules – Infrastructure as Code (IaC) with Terraform
Terraform modules are reusable, repeatable templates. They allow abstraction in provisioning infrastructure, which is much needed if your usage grows beyond just some proof of concept. HashiCorp visualizes modules as…
-
terraform destroy – Infrastructure as Code (IaC) with Terraform
To destroy the resource group, we can run a speculative plan first. It is always a best practice to run a speculative plan to confirm that what we need to…