All pages
Powered by GitBook
1 of 5

Loading...

Loading...

Loading...

Loading...

Loading...

terrakube team

This command consists of multiple subcommands to interact with teams. It can be used to create, update, delete and list teams.

Usage

terrakube team [command]

Commands

Command
Description

create a team

  • organization

  • org

delete a team

list teams

update a team

Aliases

create
delete
list
update

team update

Usage

 terrakube team update [flags]

Flags

  -h, --help                     help for update
      --id string                Id of the Team (required)
      --manage-module            Manage Module Permissions
      --manage-provider          Manage Provider Permissions
      --manage-workspace         Manage Workspaces Permissions
  -n, --name string              Name of the Team
      --organization-id string   Organization Id (required)

Examples

Update the permissions for a Team

team delete

Delete a team

Usage

terrakube team delete [flags]

Flags

  -h, --help                     help for delete
      --id string                Id of the Team (required)
      --organization-id string   Organization Id (required)

Examples

Delete a team

terrakube team update --organization-id e5ad0642-f9b3-48b3-9bf4-35997febe1fb --id 38b6635a-d38e-46f2-a95e-d00a416de4fd --manage-workspace=true --manage-module=false --manage-provider=true 
 terrakube team delete --organization-id e5ad0642-f9b3-48b3-9bf4-35997febe1fb --id 38b6635a-d38e-46f2-a95e-d00a416de4fd

team list

terrakube team list

List teams

Usage

terrakube team list [flags]

Flags

  -f, --filter string            Filter
  -h, --help                     help for list
      --organization-id string   Organization Id (required)

Examples

List all existing teams in an organization

team create

Create a Team

Usage

 terrakube team create [flags]

Flags

  -h, --help                     help for create
      --manage-module            Manage Module Permissions
      --manage-provider          Manage Provider Permissions
      --manage-workspace         Manage Workspaces Permissions
  -n, --name string              Name of the new Team (required)
      --organization-id string   Organization Id (required)

Examples

Create a new team

terrakube team list --organization-id e5ad0642-f9b3-48b3-9bf4-35997febe1fb
 terrakube team create --organization-id e5ad0642-f9b3-48b3-9bf4-35997febe1fb -n AZB_USER --manage-workspace=true --manage-module=true --manage-provider=true