Day 4 #90DaysOfDevops

On Day 4, i continued learning terraform (Topic 3: Infrastructure as Code) using the terraform help command on the command line.
Running the “terraform” prompt on the command line leads to an array of commands available for execution. The primary workflow commands were listed first followed by the less common commands.
The most important terraform command is the “terraform init” which prepare the working directory for more commands. It can be ran multiple times so as to bring the directory up to date with changes made to the infrastructure.
There are also commands such as;
Terraform validate: Check whether the configuration is valid
Terraform plan: Show changes required by the current configuration
Terraform apply: Create or update infrastructure
Terraform destroy: Destroy previously-created infrastructure
I tried connecting terraform to my aws account but couldn’t do that yet because my AWS account hasn’t being verified. Trying again tomorrow.
Cheers to day 4 and cheers to many days!
Subscribe to my newsletter
Read articles from Odunayo Idowu directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by

Odunayo Idowu
Odunayo Idowu
Aspiring Devops engineer eager to make an impact.