glab-opentofu-state-lock1
Lock the given state.
Usage
glab opentofu
state
lock
[flags]
Overview
Locking a state prevents others from modifying it until it is unlocked, which avoids concurrent writes that could corrupt the state.
Options inherited from parent commands
-h, --help[=false]
Show help for this command.
-R, --repo=""
Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted.
Examples
glab opentofu state lock production