Which backend does the Terraform CLI use by default?
Which backend does the Terraform CLI use by default?
By default, Terraform CLI uses the local backend. This means that if no specific backend is configured in the Terraform configuration files, Terraform will store its state as a local file in the current working directory. This default behavior ensures that state is accessible without requiring any additional setup or credentials.
D is correct answer : local "By default, Terraform implicitly uses a backend called local to store state as a local file on disk. Every other backend stores state in a remote service of some kind, which allows multiple people to access it. Accessing state in a remote service generally requires some kind of access credentials, since state data contains extremely sensitive information." https://www.terraform.io/language/settings/backends
By default, Terraform uses a backend called local, which stores state as a local file on disk. You can also configure one of the built-in backends listed in the documentation sidebar. D correct
D. Local
The default backend used by the Terraform CLI is the local backend. This means that the state file is stored on the local file system in a file named "terraform.tfstate".
Answer D. By default in Local backend
Answer is D- local
Answer is : D
The answer is definitely D - Local and its filename is terraform.tfstate