QuestionQ116

Terraform state management

Why is it important to regard your Terraform state file as sensitive?

  • A It contains personal information about the last user to update it.
  • B It can contain information such as resource passwords and keys.
  • C It can be manually edited to change the deployed resources.
  • D It stores all environment variables from the machine that created it.
Explanation

Terraform state can contain sensitive resource data, including passwords, access keys, and other credentials. Unauthorized access to the state file can therefore expose secrets.

Community Discussion

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