Terraform
- Terraform Enterprise
- 1.0.x
- v202507-1
- v202506-1
- v202505-1
- v202504-1
- v202503-1
- v202502-2
- v202502-1
- v202501-1
- v202411-2
- v202411-1
- v202410-1
- v202409-3
- v202409-2
- v202409-1
- v202408-1
- No versions of this document exist before v202408-1. Click below to redirect to the version homepage.
- v202407-1
- v202406-1
- v202405-1
- v202404-2
- v202404-1
- v202402-2
- v202402-1
- v202401-2
- v202401-1
- v202312-1
- v202311-1
- v202310-1
- v202309-1
- v202308-1
- v202307-1
- v202306-1
- v202305-2
- v202305-1
- v202304-1
- v202303-1
- v202302-1
- v202301-2
- v202301-1
- v202212-2
- v202212-1
- v202211-1
- v202210-1
- v202209-2
- v202209-1
- v202208-3
- v202208-2
- v202208-1
- v202207-2
- v202207-1
- v202206-1
Set permissions
In HCP Terraform you can set individual permissions and sets of permissions to control what your users can do. You can assign permissions at the organization, project, and workspace levels to control user access and the actions they can take.
Hands-on: Try the Manage Permissions in HCP Terraform tutorial.
Background
If you are in an HCP Terraform organization, you can manage user access and permissions through teams.
Each permission a user is granted is additive. HCP Terraform grants a user the highest permissions possible, regardless of whether that permission was set by an organization, project, or workspace. To learn more, refer to Effective permissions.
The following sections explain how to set permissions in HCP Terraform:
Set organization-level permissions
To set organization-level permissions for a team, perform the following steps:
- Navigate to your organization's Settings page.
- Click Teams, then select the team name from the list.
- Assign the permissions you want to grant team members across your organization.
- Click Update team organization access to save the permissions.
For more information about what each permission grants, refer to Organization permissions.
Set project-level permissions
To set project-level permissions for a team, perform the following steps:
- Navigate to your organization's Projects page.
- Select a project from the list, then select Settings in the side navigation.
- Click Team access, and select the team name from the list or click + Add team to add a new team assignment.
- Choose one of the preset permission set roles, or set individual permissions to create a custom role.
- Click Assign permissions to save the settings.
For more information about each permission, refer to Project permissions.
Set workspace-level permissions
To set workspace-level permissions for a team, perform the following steps:
- Navigate to your organization's Workspaces page.
- Select a workspace from the list, then select Settings in the side navigation.
- Click Team access, and select the team name from the list or click + Add team and permissions to add a new team assignment.
- Choose one of the preset permission set roles, or set individual permissions to create a custom role.
- Click Assign permissions to save the settings.
For more information about each permission, refer to Workspaces permissions.