Skip to content

Workspace Commands

General commands to manage Workspace Team Access.

All commands below can be used with a ws alias.

tfx workspace team list

List Team Access for a supplied Workspace, including the permissions.

Example

$ tfx workspace team list -w tfx-test          
Using config file: /Users/tstraub/.tfx.hcl
List Variables for Workspace: tfx-test
╭───────────────┬───────────────────────┬──────────────────────┬─────────────┬───────┬───────────────────┬────────────────┬───────────┬───────────┬────────────────╮
│ NAME          │ TEAM ID               │ TEAM ACCESS ID       │ ACCESS TYPE │ RUNS  │ WORKSPACE LOCKING │ SENTINEL MOCKS │ RUN TASKS │ VARIABLES │ STATE VERSIONS │
├───────────────┼───────────────────────┼──────────────────────┼─────────────┼───────┼───────────────────┼────────────────┼───────────┼───────────┼────────────────┤
│ appteam-write │ team-phMhWZUz3Hkog8Qp │ tws-LfZNEXKvxfpS5W7a │ write       │ apply │ truereadfalse     │ write     │ write          │
│ appteam-cust  │ team-f5hT25igBATWry5u │ tws-qApZtrp4KEjDjqBq │ custom      │ readtruereadfalse     │ none      │ none           │
╰───────────────┴───────────────────────┴──────────────────────┴─────────────┴───────┴───────────────────┴────────────────┴───────────┴───────────┴────────────────╯