QuestionQ22

VerifiedTerraform state management

What is the purpose of the .terraform directory in a Terraform workspace?

Explanation

Terraform automatically creates and manages the .terraform directory during initialization to store cached provider plugins and modules, along with workspace and backend-related metadata. Terraform state is stored separately, either in a local state file or in the configured backend.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!