update_workspace
Modify Terraform Cloud workspace settings such as execution mode, VCS configuration, description, or Terraform version. Only specified attributes are updated; unspecified ones remain unchanged.
Instructions
Update an existing workspace.
Modifies the settings of a Terraform Cloud workspace. This can be used to change attributes like execution mode, VCS repository settings, description, or any other workspace configuration options. Only specified attributes will be updated; unspecified attributes remain unchanged.
API endpoint: PATCH /organizations/{organization}/workspaces/{workspace_name}
Args: organization: The name of the organization that owns the workspace workspace_name: The name of the workspace to update
Returns: The updated workspace with all current settings and configuration
See: docs/tools/workspace.md for reference documentation
Input Schema
Name | Required | Description | Default |
---|---|---|---|
organization | Yes | ||
params | No | ||
workspace_name | Yes |