If supported by your backend, Terraform will lock your state for all operations that could write state. This prevents others from acquiring the lock and potentially corrupting your state.
Source: https://www.terraform.io/language/state/locking
Just passed the exam. There was a similar question not listed here on ExamTopic:
What backend types supports state locking?
A. local
B. None
C. All
D. Some
I chose D. Some as according to Hashicorp document: "Not all backends support locking"
Source: https://developer.hashicorp.com/terraform/language/state/backends
Blocks Terraform commands from modifying the state file. Since already one command is doing a modification and mutiple simultaneous writes can make it inconsistant
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Uma10
Highly Voted 1 year agochael88
Highly Voted 7 months, 2 weeks agophidelics
5 months, 3 weeks agoNi33
Most Recent 4 months agoPower123
5 months, 1 week agoadouban
9 months agobarracouto
11 months agosecdaddy
9 months, 1 week agoasudhin
11 months, 2 weeks agolegendary7
11 months, 2 weeks agoRVivek
11 months, 3 weeks agobora4motion
1 year agoBurakko
1 year ago