What is stored in .terraform folder?
Experience Level: Junior
Tags: Terraform
Answer
After you initialize using terraform init, Terraform creates a .terraform folder locally. The folder contains the most recent backend configuration and authentication parameters you provided to the Terraform CLI.
Related Terraform job interview questions
To keep Terraform configuration secure, you shouldn't hardcode credentials. How can you securely provide your backend configuration using Terraform CLI?
Terraform JuniorShould you store the .terraform folder to version control?
Terraform JuniorWhat is a default backend in Terraform?
Terraform JuniorWhat do you need to know about Terraform state in relation to security?
Terraform JuniorWhat is a name of file that Terraform CLI uses for storing local state?
Terraform Junior