Teams can only have permissions on workspaces within their organization, although any user in a team can belong to teams in other organizations.
If a user belongs to at least one team in an organization, they are considered a member of that organization.
» The Owners Team
Every organization has a team named
owners, whose members have special permissions. In Terraform Cloud's documentation and UI, members of the owners team are sometimes called organization owners.
An organization's creator is the first member of its owners team; other members can be added or removed in the same way as other teams. Unlike other teams, the owners team can't be deleted and can't be empty; if there is only one member, you must add another before removing the current member.
Members of the owners team have full access to every workspace in the organization. Additionally, the following tasks can only be performed by organization owners:
- Creating and deleting teams
- Managing team membership and organization-level permissions granted to the team
- Viewing the full list of teams, both visible and secret
- Managing organization settings
» Managing Teams
Teams are managed in the organization settings. Click the "Settings" link in the top navigation bar, then click the "Teams" link in the left sidebar.
The teams page includes a list of the organization's teams. Clicking a team in the list loads its team settings page, which manages its membership and other settings:
The team settings page lists the team's current members, with badges to indicate which users have two-factor authentication enabled.
Only organization owners can manage teams or view the full list of teams. Other users can view any teams marked as visible within the organization, plus any secret teams they are members of. See Team Visibility for more information.
» Creating and Deleting Teams
Organization owners can create new teams from the teams page, using the controls under the "Create a New Team" header.
To create a new team, provide a name (unique within the organization) and click the "Create team" button. Team names can include numbers, letters, underscores (
_), and hyphens (
To delete a team, go to the target team's settings page and click the "Delete TEAM NAME" button.
» Managing Team Membership
Organization owners can use a team's settings page to add and remove users from the team.
To add a user, enter their username in the "Username" text field (located under the "Add a New Team Member" header) and click the "Add member" button. (You must know the user's exact username; users cannot be added using email addresses or other personal information.)
To remove a user, click the "🗑" (trash can) button by their entry in the member list.
Typically, your team structure will mirror your company's group structure. The Terraform Recommended Practices guide offers more in-depth discussion of how team structure interacts with the structure of your Terraform configurations and the IT infrastructure they manage.
» Team Visibility
API: See the Teams API.
Team visibility controls who can see a team within the organization.
- When a team is set to "Visible", every user in the organization can see the team and its membership on the Teams page. Non-members have read-only access; they cannot generate a team API token, for instance.
- When a team is set to "Secret", only team members and organization owners can read a team and its membership. This is the default setting.
To simplify workspace administration, we recommend making most (or all) teams visible. Secret teams should only have organization-level permissions, since workspace admins can't manage permissions for teams they can't view.
» API Tokens
API: See the Team Tokens API.
Each team can have a special API token that is not associated with a specific user. You can manage this API token from the team's settings page. See API Tokens for more information.
» Managing Workspace Access
A team can be given read, write, or admin permissions on one or more workspaces.
- Use any workspace's "Access" tab to manage team permissions on that workspace. For full instructions, see Managing Access to Workspaces.
- For detailed information about the available permissions levels, see Permissions.
When determining whether a user can take an action on a resource, Terraform Cloud uses the highest permission level from that user's teams. For example, if a user belongs to a team with read permissions on a workspace and another team with admin permissions on that workspace, that user has admin permissions.
Organization-level permissions (see Managing Organization Access, below) can also supersede lower workspace permissions. For example, if a user belongs to a team with read permissions on a workspace but also has workspace management enabled, that user has admin permissions on the workspace. Conversely, if the team is allowed to manage the organization's Sentinel policies (which gives read access to all workspaces for enforcing policy sets) and has admin access on the workspace, the higher admin permission level is granted to the workspace.
» Managing Organization Access
API: See the Teams API.
A team can be granted permissions to manage Sentinel policies, workspaces, and/or VCS settings across an organization.
- Organization owners can manage a team's organization-level permissions on the team's settings page under "Organization Access".
- For detailed information about the available permissions, see Permissions