Registering variables
-
terraform console – Infrastructure as Code (IaC) with Terraform
The terraform console command provides an interactive console to investigate state files, dynamically build paths, and evaluate expressions even before using them in resources. It is a potent tool that…
-
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…
-
Terraform workspaces – Infrastructure as Code (IaC) with Terraform-1
Software development requires multiple environments. You develop software within your workspace, deploy it into the development environment, unit test it, and then promote the tested code to a test environment.…
-
Using the Azure Storage backend – Infrastructure as Code (IaC) with Terraform
As we will end up in a chicken -or- egg situation if we use Terraform to build a backend to store its state, we will have to configure this bit…
-
Managing Terraform state – Infrastructure as Code (IaC) with Terraform
Terraform uses a state file to track what it has deployed and what resources it is managing. The state file is essential as it records all the infrastructure Terraform maintains.…