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