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 use OWNER/REPO or GROUP/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