QuestionQ45

Terraform state management

Which of the following is stored in the .terraform directory?

  • A Providers and modules
  • B Lock file
  • C State file
  • D Configuration files
Explanation

The .terraform directory contains Terraform’s working-directory data, including downloaded providers and installed modules. The dependency lock file is stored separately as .terraform.lock.hcl.

Community Discussion

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