Workspace Commands
General commands to manage Workspace Locks.
tfx workspace lock
Lock a given workspace by name, in a given organization.
$ tfx workspace lock -n tfx-test-workspace-1Using config file: /Users/tstraub/.tfx.hclLock Workspace in Organization: fireflytfx-test-workspace-1: Lockedtfx workspace lock all
Lock all workspaces in a given organization (sequentially).
This command will ignore individual errors and attempt to execute on all Workspaces.
$ tfx workspace lock allUsing config file: /Users/tstraub/.tfx.hclLock All Workspace in Organization: fireflyLocking 6 Workspaces, please wait...tfx-test-workspace-01: Lockedtfx-test-workspace-02: Lockedtfx-test-workspace-03: Lockedtfx-test-workspace-04: Lockedtfx-test-workspace-05: Lockedtfx-test-workspace-06: Lockedtfx workspace unlock
Unlock a given workspace by name, in a given organization.
$ tfx git:(tt-additional-refactor) ✗ tfx workspace unlock -n tfx-test-workspace-1Using config file: /Users/tstraub/.tfx.hclUnlock Workspace in Organization: fireflytfx-test-workspace-1: Unlockedtfx workspace unlock all
Unlock all workspaces in a given organization (sequentially).
This command will ignore individual errors and attempt to execute on all Workspaces.
$ tfx workspace unlock allUsing config file: /Users/tstraub/.tfx.hclUnlock All Workspace in Organization: fireflyUnlocking 6 Workspaces, please wait...tfx-test-workspace-01: Unlockedtfx-test-workspace-02: Unlockedtfx-test-workspace-03: Unlockedtfx-test-workspace-04: Unlockedtfx-test-workspace-05: Unlockedtfx-test-workspace-06: Unlocked