glab(1)
π glab-opentofu-state-lock β from the glab(1) manual π
πΈ NAME πΈ
glab-opentofu-state-lock β locks the given state, periodt π
β¨ SYNOPSIS β¨
glab opentofu state lock [flags]
π¦ DESCRIPTION π¦
Okay so locking a state means nobody else can modify it until it gets unlocked. That stops concurrent writes from happening, and concurrent writes could corrupt the state. So this command is lowkey the βplease donβt touch my stuffβ button β iconic for avoiding chaos π₯
π«Ά OPTIONS INHERITED FROM PARENT COMMANDS π«Ά
These are inherited from the parent commands, so theyβre chilling here too:
-h,--help[=false]β shows help for this command β¨-R,--repo=""β selects another repository. You can useOWNER/REPOorGROUP/NAMESPACE/REPO; a full URL or Git URL is also accepted π«Ά
π EXAMPLE π
glab opentofu state lock production
π SEE ALSO π
glab-opentofu-state(1) β go read that one next, iykyk π
This page was auto generated by spf13/cobra, dated Nov 2026, for glab(1) π§ββοΈπ
π¦ where this page comes from
- arch rolling: glab 1.128.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms