Top 10 Common Interview Questions on Terraform
May 31, 2022
Below are the list of commonly asked questions on terraform, will be posting answers soon.
- What is state file? and how to store it remotely?
- What happens if someone accidently deletes state file?
- What is modules? and How to import it?
- Why Terraform is known for creating reusable infra?
- What happens if someone deletes any resources manually on cloud console, and then you run terraform apply?
- Continue to Q5: If terraform will recreate it then how to make terraform apply ignore any changes?
- What are the lifecycles you have used in terraform?
- If you want to provision 10 instances, what argument you will use?
- How to use “for condition” in terraform?
- What is Sentinel Policies in terraform?