Terraform Questions
What is IaC? What is Terraform?
Answer goes hereWhat is Terraform state?
Answer goes hereWhat are most common Terraform commands?
Answer goes hereWhat is Terraform backend?
Answer goes hereWhat are modules in Terraform?
Answer goes hereWhat is Terragrunt?
Answer goes hereExplain the workflow of the core Terraform?
Answer goes hereDifference between Terraform, AWS CloudFormation and Azure ARM?
Answer goes hereWhat is the difference between Terraform and Ansible?
Answer goes hereWhat are provisioners in Terraform?
Answer goes hereHow can two people using the Terraform cloud can create two different sets of infrastructure using the same working directory?
Answer goes hereWhat is a null resource in Terraform?
Answer goes hereWhich command is used to perform syntax validation on terraform configuration files?
`terraform validate`How can I format my current directory of Terraform config files in the HCP format?
`terraform fmt --recursive`Advanced: - I have 3 people in my team who want to work on the same AWS Infrastructure on Terraform as well as same state. What can I do to ensure there are no clashes? - In a pipeline, where would you store the Terraform state? - Can I test my terraform modules? If so, how can I test them? Is there a common framework used to Terraform modules? - How does state file locking work? - What is Checkov? - How can I use Terraform in a pipeline? - How can one export data from one module to another? - How can you import existing resources under Terraform management? - Which command can be used to reconcile the Terraform state with the actual real-world infrastructure? - What are some best practices when using Terraform modules? - How do you handle secrets and sensitive data in Terraform? - What are some best practices when writing Terraform code? - How do you export data from one module to another?