Terraform
- Terraform Enterprise
- 1.0.x (latest)
- 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
- No versions of this document exist before v202408-1. Click below to redirect to the version homepage.
- v202408-1
- v202407-1
- v202406-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
API Changelog
Keep track of changes to the API for HCP Terraform and Terraform Enterprise.
2024-04-04
- Add a sortparameter to the Projects list API to allow sorting projects by name.
- Add a descriptionattribute to the Projects API.
- Add project-countandworkspace-countattributes to sample Projects API responses.
2024-3-27
- Add private-vcsto Feature Entitlements.
2024-3-26
- Add API documentation for searching variable sets by name.
2024-3-14
- Add documentation for creating runs with debugging mode enabled.
2024-3-12
- Update OAuth Client API endpoints to create, update, and return projects associated with an oauth client.
- Add API endpoints to Attach an OAuth Client and Detach an OAuth Client from a project.
- Add organization-scopedattribute to the OAuth Clients API.
2024-2-29
- Update run task stages with new multi-stage payload format.
- Update run tasks with global run tasks request/response payloads.
2024-2-27
- Add private-policy-agentsto Feature Entitlements.
2024-2-20
- Add documentation for configuring organization and workspace data retention policies through the API and on the different types of data retention policies.
2024-1-30
- Update the Audit trails documentation to expand on the payloads for each event.
2024-1-24
- Introduce configurable data retention policies at the site-wide level and extend data retention policies at the organization and workspace levels.
- Added and/or updated data retention policy documentation to the following topics:
2024-1-4
- Update the Organizations API to support the aggregated-commit-status-enabledattribute, which controls whether Aggregated Status Checks are enabled.
2023-11-17
- Added the opa-versionsendpoint to allow administrators to manage available Open Policy Agent (OPA) versions.
- Added the sentinel-versionsendpoint to allow administrators to manage available Sentinel versions.
- Add authenticated-resourcerelationship to theaccountAPI.
2023-11-15
- Introduce configurable data retention policies at the organization and workspace levels.
- Added data retention policy documentation to the following topics:
2023-11-07
- Add auto_destroy_activity_durationto the Workspaces API, which allows Terraform Cloud to schedule auto-destroy runs based on workspace inactivity.
2023-10-31
- Update the Workspaces API to support the auto-apply-run-triggerattribute, which controls if run trigger runs are auto-applied.
2023-10-30
- Add priorityattribute to the Variable Sets API.
2023-10-04
- Updates to run task integration API- Fix invalid JSON in the example payload.
- Clarify the expected JSON:API payload fields.
 
- Add policy-tool-versionattribute to Policy Set Outcomes.
2023-10-03
- Update Policy Sets API to include agent-enabledandpolicy-tool-version.
- Update Policy Evaluations API to include policy-tool-version.
2023-09-29
- Add support for streamlined run task reviews, enabling run task integrations to return high fidelity results.- Update the Terraform cloud run task API to enable streamlined run task reviews.
- The run task integration API now guides integrations through sending rich results.
- Updated the run task payload JSON schema.
 
2023-09-25
- Add intermediateboolean attribute to the State Versions API.
2023-09-19
- Add failed state upload recovery endpoint.
2023-09-15
- Add auto-destroy-atattribute to the Workspaces API.
- Update the Notification Configurations API to include automatic destroy run details.
2023-09-08
- Update the Organizations API to include default-execution-modeanddefault-agent-pool.
- Update the Workspaces API to add a setting-overwritesobject to allow you to overwritedefault-execution-modeanddefault-agent-pool.
2023-09-06
- Update Policy Sets API endpoints to create, update, and return excluded workspaces associated with a policy set.
- Add API endpoints to Attach a Policy Set and Detach a Policy Set from excluded workspaces.
2023-08-21
- Add save-planattribute,planned_and_savedstatus, andsave_planoperation type to Runs endpoints.
2023-08-10
- Add provisionaltoconfiguration-versionsendpoint.
2023-07-26
- Add support for a customoption to theteam_projectaccess level along with various customizable permissions. Theproject-accesspermissions apply to the project itself, andworkspace-accesspermissions apply to all workspaces within the project. For more information, see Project Team Access.
2023-06-09
- Introduce support for importblocks.
- The workspaces associated with a policy set can now be updated using the Policy Sets PATCH endpoint
- Update the Workspaces API endpoints to include the associated project.
2023-05-25
- Terraform Cloud sets the configuration_version_download_url,configuration_version_id, andworkspace_working_directoryproperties for all stages of the Run Task Request.
- Add the new enforcement-levelproperty in the request and response of Policies endpoints.
- Deprecate the old enforceproperty in the request and response of Policies endpoints.
- Add new properties to limit run tasks and policies for the Terraform Cloud free tier. We updated the entitlement set, feature set, and subscription endpoints with the following properties:
2023-04-25
- Add the version-idproperty to the response for the Create, List, and Update Workspace Variables endpoints.
2023-03-30
- Add the sortquery parameter to the Workspaces API's list workspaces endpoint.
2023-03-24
- Update the Variable Sets API endpoints to include assigning variable sets to projects.
2023-03-20
- Add a names filter to the Projects list API to allow fetching a list of projects by name.
2023-03-13
- Update Project Team Access API to include additional Project roles.
- Update Permissions to reflect the decoupling of projects and workspaces in the Organization Permissions UI.
2023-03-08
- Introduced the GitHub App Installation APIs.
- Updated Workspaces API to accept vcs-repo.github-app-installation-idto connect a workspace to a GitHub App Installation.
- Updated Registry Module API to accept vcs-repo.github-app-installation-idto connect to a GitHub App Installation.
- Updated Policy Sets API to accept vcs-repo.github-app-installation-idto connect to a GitHub App Installation.
2023-02-16
- Add manage-membershipto the organization access settings of the Team API.
2023-02-03
- Updated the List Runs API to note that the filter query parameters accept comma-separated lists.
2023-01-18
- Updated the Team API to include the read-workspacesandread-projectspermissions which grants teams view access to workspaces and projects.
2023-01-17
- Add Projects API for creating, updating and deleting projects.
- Add Project Team Access API for managing access for teams to individual projects.
- Update Workspaces API to include examples of creating a workspace in a project and moving a workspace between projects.
- Update List Teams API to accept a search parameter q, so that teams can be searched by name.
2023-01-12
- Added new rollback to previous state endpoint to State Versions API
2022-12-22
- Updated Safe Delete a workspace to fix HTTP verb as POST.
2022-11-18
- Update Policies API to fix policy enforcement level defaults. Enforcement level is a required field, so no defaults are available.
2022-11-03
- Update Policy Checks to fix policy set outcome return data type.
2022-10-17
- Updated the Organizations API with the allow-force-delete-workspaces, which controls whether workspace administrators can delete workspaces with resources under management.
- Updated the Workspacess API with a safe delete endpoint that guards against deleting workspaces that are managing resources.
2022-10-12
- Update Policy Checks with result counts and support for filtering policy set outcomes.
- Update Team Membership API to include adding and removing users from teams using organization membership ID.
2022-09-21
- Update State Versions with optional json-state-outputsandjson-stateattributes, which are base-64 encoded external JSON representations of the terraform state. The read-onlyhosted-json-state-download-urlattribute links to this version of the state file when available.
- Update State Version Outputs with a detailed-typeattribute, which refines the output with the precise Terraform type.
2022-07-26
- Updated the Run status list with fetching,queuing,pre_plan_runningandpre_plan_completed
- Update Run Tasks to include the new stagesattribute when attaching or updating workspace tasks.
- Updated Run Tasks Integration to specify the different request payloads for different stages.
2022-06-23
- Added new query parameter(s) to List Runs endpoint.
2022-06-21
- Updated Admin Organizations endpoints with new workspace-limitsetting. This is available in Terraform Enterprise v202207-1 and later.
- Updated List Agent Pools to accept a filter parameter filter[allowed_workspaces][name]so that agent pools can be filtered by name of an associated workspace. The given workspace must be allowed to use the agent pool. Refer to Scoping Agent Pools to Specific Workspaces.
- Added new organization-scopedattribute andallowed-workspacesrelationship to the request/response body of the below endpoints. This is available in Terraform Enterprise v202207-1 and later.
2022-06-17
- Updated Creating a Run Task section to include the new description information for the run task to be configured.
- Update Run Tasks to include the new description attribute.
2022-06-09
- Updated List Agent Pools to accept a search parameter q, so that agent pools can be searched byname. This is available in Terraform Enterprise v202207-1 and later.
- Fixed List Workspaces to add missing search[tags]query parameter.
- Updated List Workspaces to add new search[exclude_tags]query parameter. This is available in Terraform Enterprise v202207-1 and later.
2022-05-11
- Updated Run Tasks permission to the following endpoints:
2022-05-04
- Updated Feature Sets to add new run-tasksattribute.
2022-05-03
- Added Run Tasks permission to the following endpoints:
2022-04-29
- Updated Run Tasks Integration to specify the allowed statusattribute values.
- Updated Organization Memberships to add new filter[email]query parameter.
- Updated Teams to add new filter[names]query parameter.
2022-04-04
- Added the Run Tasks Integration endpoint.
2022-03-14
- Added the Download Configuration Files endpoints.
2022-03-11
- Introduced Archiving Configuration Versions.- Updated Configuration Versions to add new fetchingandarchivedstates.
- Updated Runs to add new fetchingstate.
- Added the Archive a Configuration Version endpoint.
 
- Updated Configuration Versions to add new 
2022-02-25
- Updated Workspace Run Tasks to add new enabledattribute.
2022-02-28
- Introduced the Registry Providers endpoints to manage private providers for a private registry.
2021-12-09
- Added variablesfield for POST /runs and the run resource, enabling run-specific variable values.
2021-12-03
- OAuth API updated to handle secretandrsa_public_keyfields for POST/PUT.
2021-11-17
- Added pagination support to the following endpoints:- Feature Sets - GET /feature-sets
- Notification Configurations - GET /workspaces/:workspace_id/notification-configurations
- Oauth Clients - GET /organizations/:organization_name/oauth-clients
- Oauth Tokens - GET /oauth-clients/:oauth_client_id/oauth-tokens
- Organization Feature Sets - GET /organizations/:organization_name/feature-sets
- Organizations - GET /organizations
- Policy Checks - GET /runs/:run_id/policy-checks
- Policy Set Parameters - GET /policy-sets/:policy_set_id/parameters
- SSH Keys - GET /organizations/:organization_name/ssh-keys
- User Tokens - GET /users/:user_id/authentication-tokens
 
- Feature Sets - 
2021-11-11
- Introduced the Variable Sets endpoints for viewing and administering Variable Sets
2021-11-18
- Introduced the Registry Providers endpoint to manage public providers for a
private registry. These endpoints will be available in the following TFE Release: v202112-1
2021-09-12
- Added Run Tasks Stages and Results endpoint.
2021-08-18
- Introduced the State Version Outputs endpoint to retrieve the Outputs for a given State Version
2021-08-11
- BREAKING CHANGE: Security fix to Configuration versions: upload-url attribute for uploading configuration files is now only available on the create response.
2021-07-30
- Introduced Workspace Tagging- Updated Workspaces:- added tag-namesattribute.
- added POST /workspaces/:workspace_id/relationships/tags
- added DELETE /workspaces/:workspace_id/relationships/tags
 
- added 
- Added Organization Tags.
- Added tagsattribute totfrun
 
- Updated Workspaces:
2021-07-19
- Notification configurations: Gave organization tokens permission to create and manage notification configurations.
2021-07-09
- State versions: Fixed the ID format for the workspace relationship of a state version. Previously, the reported ID was unusable due to a bug.
- Workspaces: Added locked_byas an includable related resource.
- Added Run Tasks API endpoint.
2021-06-8
- Updated Registry Module APIs.- added registry_namescoped APIs.
- added organization_namescoped APIs.
- added Module List API.
- updated Module Delete APIs (see deprecation note below).
- CLOUD: added public registry module related APIs.
 
- added 
- DEPRECATION: The following Registry Module APIs have been replaced with newer apis and will be removed in the future.- The following endpoints to delete modules are replaced with Module Delete APIs- POST /registry-modules/actions/delete/:organization_name/:name/:provider/:versionreplaced with- DELETE /organizations/:organization_name/registry-modules/:registry_name/:namespace/:name/:provider/:version
- POST /registry-modules/actions/delete/:organization_name/:name/:providerreplaced with- DELETE /organizations/:organization_name/registry-modules/:registry_name/:namespace/:name/:provider
- POST /registry-modules/actions/delete/:organization_name/:namereplaced with- DELETE /organizations/:organization_name/registry-modules/:registry_name/:namespace/:name
 
- POST /registry-modulesreplaced with- POST /organizations/:organization_name/registry-modules/vcs
- POST /registry-modules/:organization_name/:name/:provider/versionsreplaced with- POST /organizations/:organization_name/registry-modules/:registry_name/:namespace/:name/:provider/versions
- GET /registry-modules/show/:organization_name/:name/:providerreplaced with- GET /organizations/:organization_name/registry-modules/:registry_name/:namespace/:name/:provider
 
- The following endpoints to delete modules are replaced with Module Delete APIs
2021-05-27
- CLOUD: Agents: added delete endpoint.
2021-05-19
- Runs: added refresh,refresh-only, andreplace-addrsattributes.
2021-04-16
- Introduced Controlled Remote State Access.- Admin Settings: added default-remote-state-accessattribute.
- Workspaces:- added global-remote-stateattribute.
- added Remote State Consumers relationship.
 
- added 
 
- Admin Settings: added 
2021-04-13
- Teams: added manage-policy-overridesproperty to theorganization-accessattribute.
2021-03-23
- ENTERPRISE: v202103-1Introduced Share Modules Across Organizations with Terraform Enterprise.- Admin Organizations:- added new query parameters to List all Organizations endpoint
- added module-consumers link in relationshipsresponse
- added update module consumers endpoint
- added list module consumers endpoint
 
- Organizations: added Module Producers
- DEPRECATION: Admin Module Sharing: is replaced with a new JSON::Api compliant endpoint
 
- Admin Organizations:
2021-03-18
- CLOUD: Introduced New Workspace Overview for Terraform Cloud.- Workspaces:- added resource-countandupdated-atattributes.
- added performance attributes (apply-duration-average,plan-duration-average,policy-check-failures,run-failures,workspaces-kpis-run-count).
- added readmeandoutputsrelated resources.
 
- added 
- Team Access: updated to support pagination.
 
- Workspaces:
2021-03-11
- Added VCS Events, limited to GitLab.com connections.
2021-03-08
- Workspaces: added current_configuration_versionandcurrent_configuration_version.ingress_attributesas includable related resources.