Notifications
Clear all
Topic starter
Which of the following best describes the default local backend?
- A . The local backend is where Terraform Enterprise stores logs to be processed by an log collector.
B. The local backend stores state on the local filesystem, locks the state using system APIs, and performs operations locally.
C. The local backend is the directory where resources deployed by Terraform have direct access to in order to update their current state.
D. The local backend is how Terraform connects to public cloud services, such as AWS, Azure, or GCP.
Suggested Answer: B
Explanation:
The local backend stores state on the local filesystem, locks that state using system APIs,
and performs operations locally.
terraform {
backend "local" {
path = "relative/path/to/terraform.tfstate"
}
}
https://www.terraform.io/docs/backends/types/local.html
Explanation:
The local backend stores state on the local filesystem, locks that state using system APIs,
and performs operations locally.
terraform {
backend "local" {
path = "relative/path/to/terraform.tfstate"
}
}
https://www.terraform.io/docs/backends/types/local.html
Posted : 23/10/2022 10:40 am