Skip to content

Latest commit

 

History

History
362 lines (244 loc) · 23.6 KB

File metadata and controls

362 lines (244 loc) · 23.6 KB
page_title page_id description
API Changelog - API Docs - Terraform Cloud
api-changelog
Learn about the changes made to the Terraform Cloud and Enterprise APIs.

API Changelog

Keep track of changes to the API for Terraform Cloud and Terraform Enterprise.

2023-10-11

2023-09-25

2023-09-19

2023-09-15

2023-09-08

  • Update the Organizations API to include default-execution-mode and default-agent-pool.
  • Update the Workspaces API to add a setting-overwrites object to allow you to overwrite default-execution-mode and default-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-plan attribute, planned_and_saved status, and save_plan operation type to Runs endpoints.

2023-08-10

  • Add provisional to configuration-versions endpoint.

2023-08-08

2023-07-26

  • Add support for a custom option to the team_project access level along with various customizable permissions. The project-access permissions apply to the project itself, and workspace-access permissions apply to all workspaces within the project. For more information, see Project Team Access.

2023-06-09

  • Introduce support for import blocks.
    • Runs have a new allow-config-generation option.
    • Plans have new resource-imports and generated-configuration properties.
    • Applies have a new resource-imports property.
  • 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, and workspace_working_directory properties for all stages of the Run Task Request.
  • Add the new enforcement-level property in the request and response of Policies endpoints.
  • Deprecate the old enforce property 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:
    • run-task-limit
    • run-task-workspace-limit
    • run-task-mandatory-enforcement-limit
    • policy-set-limit
    • policy-limit
    • policy-mandatory-enforcement-limit
    • versioned-policy-set-limit

2023-04-25

2023-03-30

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-id to connect a workspace to a GitHub App Installation.
  • Updated Registry Module API to accept vcs-repo.github-app-installation-id to connect to a GitHub App Installation.
  • Updated Policy Sets API to accept vcs-repo.github-app-installation-id to connect to a GitHub App Installation.

2023-02-16

  • Add manage-membership to 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-workspaces and read-projects permissions 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

2022-12-22

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-10-06

  • Updated the Policies API with support for Open Policy Agent (OPA) policies.
  • Update Policy Sets with support for OPA policy sets.
  • Updated Policy Checks to add support for listing policy evaluations and policy set outcomes.
  • Update Run Tasks Stage to include the new policy_evaluations attribute in the output.

2022-09-21

  • Update State Versions with optional json-state-outputs and json-state attributes, which are base-64 encoded external JSON representations of the terraform state. The read-only hosted-json-state-download-url attribute links to this version of the state file when available.
  • Update State Version Outputs with a detailed-type attribute, which refines the output with the precise Terraform type.

2022-07-26

  • Updated the Run status list with fetching, queuing, pre_plan_running and pre_plan_completed
  • Update Run Tasks to include the new stages attribute when attaching or updating workspace tasks.
  • Updated Run Tasks Integration to specify the different request payloads for different stages.

2022-06-23

2022-06-21

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 by name. 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

2022-05-04

2022-05-03

2022-04-29

2022-04-04

2022-03-14

2022-03-11

2022-02-25

2022-02-28

  • Introduced the Registry Providers endpoints to manage private providers for a private registry.

2021-12-09

  • Added variables field for POST /runs and the run resource, enabling run-specific variable values.

2021-12-03

  • OAuth API updated to handle secret and rsa_public_key fields for POST/PUT.

2021-11-17

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

2021-08-18

2021-08-11

2021-07-30

  • Introduced Workspace Tagging
    • Updated Workspaces:
      • added tag-names attribute.
      • added POST /workspaces/:workspace_id/relationships/tags
      • added DELETE /workspaces/:workspace_id/relationships/tags
    • Added Organization Tags.
    • Added tags attribute to tfrun

2021-07-19

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_by as an includable related resource.
  • Added Run Tasks API endpoint.

2021-06-8

2021-05-27

2021-05-19

  • Runs: added refresh, refresh-only, and replace-addrs attributes.

2021-04-16

2021-04-13

  • Teams: added manage-policy-overrides property to the organization-access attribute.

2021-03-23

2021-03-18

2021-03-11

  • Added VCS Events, limited to GitLab.com connections.

2021-03-08

  • Workspaces: added current_configuration_version and current_configuration_version.ingress_attributes as includable related resources.