glab-opentofu-state-lock - Man Page
Lock the given state.
Synopsis
glab opentofu state lock [flags]
Description
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.
Example
glab opentofu state lock production
See Also
Referenced By
Jun 2026 Auto generated by spf13/cobra