Terraform Interview Questions — Part 2
Common Questions You should know before the Interview
I have done many interviews so far both as an interviewer and Interviewee. I am compiling this list based on my experience and we can’t put it all in one article so I am dividing these articles into 20 questions each. We will see how many parts this will come into. Here are the next 20 Common Questions in Terraform.
Here is the first part of this article
21. If different teams are working on the same configuration. How do you make files to have syntactically valid and internally consistent?
terraform validateThis command will check and report errors within modules, attribute names, and value types.Validate your configuration. If your configuration is valid, Terraform will return a success message.
22. What is the command to create infrastructure?
terraform apply
23. What is the command to show the execution plan and not apply?
terraform plan
24. How do you inspect the current state of the infrastructure applied?
terraform show