DevOps Interview Questions
1. State file in Terraform? Terraform must store state about your managed infrastructure and configuration, is used by Terraform to map real-world resources to your configuration, keep track of metadata, and to improve performance for large infrastructures. This state is stored by default in a local file named " terraform.tfstate ", but it can also be stored remotely, which works better in a team environment. primary purpose of Terraform state is to store bindings between objects in a remote system and resource instances declared in your configuration. When Terraform creates a remote object in response to a change of configuration, it will record the identity of that remote object against a particular resource instance, and then potentially update or delete that object in response to future configuration changes. State Locking helps to lock the state prevents multiples users to update the state file at a time. * terraform download all plugins and store.terraform folder in t...
