CI/CD
Hashicorp Terraform Cloud
API integration
Ship CI/CD features without building the integration. Full Hashicorp Terraform Cloud API access via Proxy, normalized data through Unified APIs, and 480+ MCP-ready tools for AI agents — all extensible to your exact use case.
Talk to usUse Cases
Why integrate with Hashicorp Terraform Cloud
Common scenarios for SaaS companies building Hashicorp Terraform Cloud integrations for their customers.
Automate infrastructure provisioning from your developer platform
SaaS companies building internal developer portals or platform engineering tools can let users spin up Terraform Cloud workspaces, inject variables, and trigger runs directly from their product — giving developers self-service infrastructure without leaving the platform.
Enforce security policies on infrastructure changes before they deploy
Cloud security and compliance SaaS products can pull JSON execution plans and policy check results from Terraform Cloud to scan for misconfigurations, then programmatically block or approve runs based on their own security rules.
Sync team and user access across your product and Terraform Cloud
Identity governance and access management platforms can use Truto's Unified User Directory API to synchronize organizations, teams, and user memberships between their directory and Terraform Cloud, ensuring consistent role-based access to infrastructure workspaces.
Build approval workflows around infrastructure deployments
ITSM and workflow automation tools can monitor Terraform Cloud runs after the plan phase, gate the apply step on external approvals or ticket resolution, and then programmatically apply or discard runs via the API.
Surface infrastructure state and outputs in your product
Monitoring, observability, or asset management SaaS products can read current state versions and outputs from Terraform Cloud workspaces to automatically discover deployed resources, connection strings, and IP addresses without manual input from users.
What You Can Build
Ship these features with Truto + Hashicorp Terraform Cloud
Concrete product features your team can ship faster by leveraging Truto’s Hashicorp Terraform Cloud integration instead of building from scratch.
One-click workspace provisioning with variable injection
Let users create Terraform Cloud workspaces, attach variable sets, and set workspace-specific variables directly from your UI to stand up isolated environments on demand.
Run lifecycle dashboard with apply/discard controls
Display active Terraform Cloud runs with real-time status, and give users the ability to apply, discard, cancel, or force-cancel runs from within your product.
Automated team and membership sync via Unified User Directory
Map your product's user groups to Terraform Cloud teams and organization memberships using Truto's Unified User Directory API, keeping access permissions in sync automatically.
Pre-deploy security scan using JSON execution plans
Fetch JSON execution plans from Terraform Cloud runs, analyze them against your security ruleset, and post automated run comments explaining any violations before infrastructure is applied.
Infrastructure output auto-discovery
Read current state version outputs — such as load balancer URLs, database endpoints, and API keys — from Terraform Cloud workspaces and pipe them into your product's configuration or monitoring layers.
Policy check and audit trail reporting
Aggregate policy evaluation outcomes and audit trail events from Terraform Cloud into a unified compliance dashboard within your product for governance reporting.
SuperAI
Hashicorp Terraform Cloud AI agent tools
Comprehensive AI agent toolset with fine-grained control. Integrates with MCP clients like Cursor and Claude, or frameworks like LangChain.
list_all_hashicorp_terraform_cloud_account
Get your account details in Hashicorp Terraform Cloud. Returns id, username, email, avatar-url, auth-method, is-site-admin, and permissions including can-create-organizations, can-change-email, and can-change-username.
update_a_hashicorp_terraform_cloud_account_by_id
Update your account info in Hashicorp Terraform Cloud with new username and email. Returns id, username, email, avatar-url, permissions, and other user attributes in the response.
hashicorp_terraform_cloud_account_change_password
Update account password in Hashicorp Terraform Cloud. Requires current_password, password, and password_confirmation. Returns id, username, email, authentication tokens link, permissions, and account details in response.
list_all_hashicorp_terraform_cloud_organizations
List organizations in Hashicorp Terraform Cloud. Returns organization id, name, email, plan details, permissions, and other attributes for each organization.
get_single_hashicorp_terraform_cloud_organization_by_id
Get information about a specific organization in Hashicorp Terraform Cloud. Requires id. Returns fields including id, attributes like email, plan status, permissions, and relationships.
create_a_hashicorp_terraform_cloud_organization
Create an organization in Hashicorp Terraform Cloud with name and email. Returns id, name, email, session timeout, collaborator auth policy, cost estimation status, and default execution mode.
update_a_hashicorp_terraform_cloud_organization_by_id
Update an organization in Hashicorp Terraform Cloud. Requires id. Returns fields such as email, name, cost-estimation-enabled, collaborator-auth-policy, created-at, default-execution-mode, owners-team-saml-role-id, and permissions indicating the organization's configuration and access rights.
delete_a_hashicorp_terraform_cloud_organization_by_id
Delete an organization in Hashicorp Terraform Cloud. Requires id. The response body will be empty if successful.
organizations_show_data_retention_policy
Get data retention policy in Hashicorp Terraform Cloud for a specific organization_name. Returns the organization's explicit or default data retention policy fields.
organizations_create_data_retention_policy
Create a data-retention-policy in Hashicorp Terraform Cloud for the specified organization_name. Returns the created or updated policy fields, such as policy ID and retention settings.
organizations_delete_data_retention_policy
Remove the data retention policy for a specific organization in Hashicorp Terraform Cloud. Requires organization_name. Returns no content and reverts the organization to the default data retention policy.
organizations_update_data_retention_policy
Create a data-retention-policy in Hashicorp Terraform Cloud for the specified organization_name. Returns the created or updated policy fields, such as policy ID and retention settings.
list_all_hashicorp_terraform_cloud_workspaces
List workspaces in a specific organization in Hashicorp Terraform Cloud. Requires organization_name. Returns id, attributes including name, execution-mode, environment, created-at, permissions, and relationships for each workspace.
get_single_hashicorp_terraform_cloud_workspace_by_id
Get workspace details in Hashicorp Terraform Cloud. Requires id. Returns id, type, attributes (including execution-mode, environment, locked, name, resource-count, terraform-version), relationships, and links fields in the response.
create_a_hashicorp_terraform_cloud_workspace
List workspaces in Hashicorp Terraform Cloud for organization_name. Returns id, type, attributes (including name, execution-mode, locked, resource-count, tag-names, terraform-version), and relationships for each workspace.
update_a_hashicorp_terraform_cloud_workspace_by_id
Update a specific workspace in Hashicorp Terraform Cloud using workspace_id. Returns workspace fields including id, name, allow-destroy-plan, execution-mode, description, vcs-repo, terraform-version, resource-count, locked, tag-names, and detailed permissions.
hashicorp_terraform_cloud_workspaces_lock
Lock a workspace in Hashicorp Terraform Cloud. Requires id. Returns workspace fields including id, name, locked status, environment, execution mode, tag-names, permissions, and associated relationships in the response.
hashicorp_terraform_cloud_workspaces_unlock
Unlock a specific workspace in Hashicorp Terraform Cloud using id. Returns id, type, attributes (such as actions, locked status, name, execution-mode, permissions), links, and relationships fields in the response. Unlock may fail if the latest intermediate state version is not finalized; check state status and retry if necessary.
hashicorp_terraform_cloud_workspaces_force_unlock
Force unlock a workspace in Hashicorp Terraform Cloud. Requires id. Returns workspace attributes such as locked, name, environment, vcs-repo, permissions, and related resource ids and links in the response.
hashicorp_terraform_cloud_workspaces_assign_ssh_key
Assign an SSH key to a workspace in Hashicorp Terraform Cloud. Requires id. Returns workspace fields such as id, type, and attributes including name, description, permissions, vcs-repo, and related relationships.
hashicorp_terraform_cloud_workspaces_unassign_ssh_key
Unassign the currently assigned SSH key from a workspace in Hashicorp Terraform Cloud. Requires id. Returns updated workspace information, reflecting removal of the SSH key.
hashicorp_terraform_cloud_workspaces_safe_delete
Safe Delete a workspace in Hashicorp Terraform Cloud. When you delete an HCP Terraform workspace with resources, Terraform can no longer track or manage that infrastructure. During a safe delete, HCP Terraform only deletes the workspace if it is not managing resources. You can safe delete a workspace using two endpoints that behave identically. The first endpoint identifies a workspace with the workspace ID, and the other identifies the workspace by its name and organization. Required: workspace_id.
delete_a_hashicorp_terraform_cloud_workspace_by_id
Force Delete a workspace in Hashicorp Terraform Cloud. During a force delete, HCP Terraform removes the specified workspace without checking whether it is managing resources. We recommend using the safe delete endpoint instead, when possible. Warning: Terraform cannot track or manage the workspace's infrastructure after deletion. We recommend destroying the workspace's infrastructure before you delete it. By default, only organization owners can force delete workspaces. Organization owners can also… Required: id.
hashicorp_terraform_cloud_workspaces_update_by_name
Update a Workspace in Hashicorp Terraform Cloud. Use one of the following endpoint to update a workspace: Required: organization_name, name, body data.
hashicorp_terraform_cloud_workspaces_get_by_name
Show workspace in Hashicorp Terraform Cloud. Details on a workspace can be retrieved from two endpoints, which behave identically. One refers to a workspace by its ID: Required: organization_name, name.
hashicorp_terraform_cloud_workspaces_safe_delete_by_name
Safe Delete a workspace in Hashicorp Terraform Cloud. When you delete an HCP Terraform workspace with resources, Terraform can no longer track or manage that infrastructure. During a safe delete, HCP Terraform only deletes the workspace if it is not managing resources. You can safe delete a workspace using two endpoints that behave identically. The first endpoint identifies a workspace with the workspace ID, and the other identifies the workspace by its name and organization. Required: organization_name, name.
hashicorp_terraform_cloud_workspaces_delete_by_name
Force Delete a workspace in Hashicorp Terraform Cloud. During a force delete, HCP Terraform removes the specified workspace without checking whether it is managing resources. We recommend using the safe delete endpoint instead, when possible. Warning: Terraform cannot track or manage the workspace's infrastructure after deletion. We recommend destroying the workspace's infrastructure before you delete it. By default, only organization owners can force delete workspaces. Organization owners can also… Required: organization_name, name.
list_all_hashicorp_terraform_cloud_teams
List teams in Hashicorp Terraform Cloud for a specified organization_name. Returns each team's id, attributes (such as name, sso-team-id, users-count, visibility, allow-member-token-management), permissions, organization-access, relationships, and links.
get_single_hashicorp_terraform_cloud_team_by_id
Get information about a specific team in Hashicorp Terraform Cloud. Requires id. Returns fields such as name, sso-team-id, users-count, visibility, permissions, organization-access, users, authentication-token, and links.
create_a_hashicorp_terraform_cloud_team
Create a team in Hashicorp Terraform Cloud for the specified organization_name. Returns id, attributes (name, sso-team-id, organization-access, permissions, users-count, visibility, allow-member-token-management), links, relationships, and type fields in the response.
update_a_hashicorp_terraform_cloud_team_by_id
Update a team in Hashicorp Terraform Cloud. Requires id. Returns name, sso-team-id, organization-access permissions, visibility, allow-member-token-management, permissions, users-count, and relationships in the response. Note: If read-projects or manage-projects is true, read-workspaces or manage-workspaces must also be true.
delete_a_hashicorp_terraform_cloud_team_by_id
Delete a specific team in Hashicorp Terraform Cloud. Requires id. No content is returned in the response.
list_all_hashicorp_terraform_cloud_projects
List projects in a specific organization in Hashicorp Terraform Cloud. Requires organization_name. Returns id, name, description, workspace-count, team-count, permissions, and related resource links for each project.
get_single_hashicorp_terraform_cloud_project_by_id
Get details about a specific project in Hashicorp Terraform Cloud. Requires id. Returns fields including name, description, workspace-count, team-count, permissions, and organization relationship.
create_a_hashicorp_terraform_cloud_project
Create a project in Hashicorp Terraform Cloud. Requires organization_name. Returns fields: id, type, attributes (name, description, default-execution-mode, permissions, setting-overwrites), relationships, and links.
update_a_hashicorp_terraform_cloud_project_by_id
Update a specific project in Hashicorp Terraform Cloud by id. Returns updated project fields such as name, description, auto-destroy-activity-duration, tag-bindings, default-execution-mode, default-agent-pool, and setting-overwrites.
delete_a_hashicorp_terraform_cloud_project_by_id
Delete a project in Hashicorp Terraform Cloud by id. The project cannot be deleted if it contains stacks or workspaces. Returns confirmation of deletion.
hashicorp_terraform_cloud_projects_update_tag_bindings
Replace all tag bindings on a project in Hashicorp Terraform Cloud (PATCH /projects/:project_id/relationships/tag-bindings); bindings not in the request are removed. Use project-tag-bindings create to add or update without removing others. Requires project_id. Returns the resulting tag bindings (id, key, value).
hashicorp_terraform_cloud_projects_move_workspace_into_project
Move one or more workspaces into a project in Hashicorp Terraform Cloud. Requires id. Returns errors with status, title, and detail if any workspace is not found or you are not authorized.
get_single_hashicorp_terraform_cloud_user_by_id
Get details about a specific user in Hashicorp Terraform Cloud using id. Returns id, username, is-service-account, auth-method, avatar-url, v2-only, permissions, and relevant links in the response.
list_all_hashicorp_terraform_cloud_organization_membership
List organization_membership resources in Hashicorp Terraform Cloud for a specific organization_name. Returns each membership's id, status, user, teams, and organization in the response.
create_a_hashicorp_terraform_cloud_organization_membership
Invite a user to an organization in Hashicorp Terraform Cloud. Requires organization_name and a user email. Returns id, status, team membership, user id, and organization id fields in the response.
get_organization_membership_by_id
Get organization_membership details in Hashicorp Terraform Cloud. Requires id. Returns status, related teams, user, and organization in the response.
delete_a_hashicorp_terraform_cloud_organization_membership_by_id
Delete an organization_membership in Hashicorp Terraform Cloud. Requires id. No content is returned in the response.
list_all_hashicorp_terraform_cloud_agent_pools
List agent pools in Hashicorp Terraform Cloud for a specific organization_name. Returns id, name, created-at, organization-scoped, agent-count, and relationships to agents, authentication-tokens, and workspaces in the response.
get_single_hashicorp_terraform_cloud_agent_pool_by_id
Get information about a specific agent pool in Hashicorp Terraform Cloud. Requires id. Returns id, name, created-at, organization-scoped, and relationships including agents, authentication-tokens, workspaces, and allowed-workspaces.
create_a_hashicorp_terraform_cloud_agent_pool
Create an Agent Pool for an organization in Hashicorp Terraform Cloud. Requires organization_name and data with type 'agent-pools' and attributes.name. Returns id, name, created-at, organization-scoped, and allowed-workspaces in the response.
update_a_hashicorp_terraform_cloud_agent_pool_by_id
Update an agent pool by id in Hashicorp Terraform Cloud. Requires id and a JSON body with data.type as 'agent-pools', data.attributes.name for the unique pool name, data.attributes.organization-scoped for scope, and optionally data.relationships.allowed-workspaces.data.id for workspace permission. Returns updated agent pool data.
delete_a_hashicorp_terraform_cloud_agent_pool_by_id
Delete an agent pool by id in Hashicorp Terraform Cloud. Returns no content on success.
list_all_hashicorp_terraform_cloud_agents
List agents for a specific agent_pool_id in Hashicorp Terraform Cloud. Returns agent id, name, status, ip-address, and last-ping-at fields.
get_single_hashicorp_terraform_cloud_agent_by_id
Get information about a specific agent in Hashicorp Terraform Cloud. Requires id. Returns id, name, status, ip-address, and last-ping-at fields.
delete_a_hashicorp_terraform_cloud_agent_by_id
Delete an agent by id in Hashicorp Terraform Cloud.
list_all_hashicorp_terraform_cloud_agent_tokens
List agent tokens for a specific agent pool in Hashicorp Terraform Cloud. Requires agent_pool_id. Returns id, type, created-at, last-used-at, description, and created-by fields for each token. Secret token value is not included.
get_single_hashicorp_terraform_cloud_agent_token_by_id
Get details about a specific agent token in Hashicorp Terraform Cloud. Requires id. Returns id, type, created-at, last-used-at, description, token, and created-by fields in the response.
create_a_hashicorp_terraform_cloud_agent_token
Create an agent token in Hashicorp Terraform Cloud using agent_pool_id. Returns id, type, created-at, last-used-at, description, token, and created-by.id/type in the response. Token is only shown upon creation and cannot be recovered later.
delete_a_hashicorp_terraform_cloud_agent_token_by_id
Delete an agent token in Hashicorp Terraform Cloud. Requires id. Returns an empty response on successful deletion.
get_single_hashicorp_terraform_cloud_apply_by_id
Get information about a specific apply in Hashicorp Terraform Cloud. Requires id. Returns execution details, status, status timestamps, log-read-url, resource changes, related state-version ids, and self link.
hashicorp_terraform_cloud_applies_recover_failed_state
Recover a failed state upload after applying in Hashicorp Terraform Cloud. Requires apply_id. Returns a redirect to the raw state upload data if available due to a failed upload during apply.
list_all_hashicorp_terraform_cloud_audit_trails
List audit-trail events in Hashicorp Terraform Cloud for the organization. Returns id, version, type, timestamp, auth, request, and resource fields for each event. Requires organization-level authentication.
create_a_hashicorp_terraform_cloud_audit_trail_token
Create a new audit-trail-tokens in Hashicorp Terraform Cloud for the specified organization_name. Returns id, type, created-at, last-used-at, description, token, expired-at, and created-by fields in the response.
delete_a_hashicorp_terraform_cloud_audit_trail_token_by_id
Delete an audit trail token for a specific organization in Hashicorp Terraform Cloud. Requires organization_name. No content is returned upon successful deletion.
get_single_hashicorp_terraform_cloud_assessment_result_by_id
Get assessment-results in Hashicorp Terraform Cloud. Requires id. Returns attributes such as drifted, succeeded, error-msg, created-at, and links including self, json-output, json-schema, and log-output.
assessment_results_retrieve_json_output
Get the JSON plan output for a specific assessment result in Hashicorp Terraform Cloud. Returns the full JSON plan associated with the given id.
assessment_results_retrieve_schema_file
Get the provider JSON schema for a specific assessment result in Hashicorp Terraform Cloud. Requires assessment_result_id. Returns the full provider schema used in the assessment result.
assessment_results_retrieve_json_log_output
Get JSON log output for a specific assessment-results resource in Hashicorp Terraform Cloud using assessment_result_id. Returns the detailed log output for assessment execution.
list_all_hashicorp_terraform_cloud_change_requests
List change requests in Hashicorp Terraform Cloud for a specific workspace_name. Returns id, subject, message, archived-by, archived-at, created-at, updated-at fields, and workspace relationship in the response.
get_single_hashicorp_terraform_cloud_change_request_by_id
Get details about a specific change request in Hashicorp Terraform Cloud using id. Returns subject, message, archived-by, archived-at, created-at, updated-at, and workspace fields in the response.
create_a_hashicorp_terraform_cloud_change_request
Create a new change request in Hashicorp Terraform Cloud. Requires organization_id. Returns id, organization_id, action_type, action_inputs, created_by, and type fields in the response.
hashicorp_terraform_cloud_change_requests_archive
Archive change-requests in Hashicorp Terraform Cloud. Requires change_request_id. Returns subject, message, archived-by, archived-at, created-at, updated-at, and workspace in the response.
list_all_hashicorp_terraform_cloud_run_comments
List comments for a specific run in Hashicorp Terraform Cloud. Requires run_id. Returns comment id, body, related run-event id, and self link for each comment.
get_single_hashicorp_terraform_cloud_run_comment_by_id
Get a specific run-comment in Hashicorp Terraform Cloud. Requires id. Returns id, type, attributes.body, relationships.run-event, and links for the comment.
create_a_hashicorp_terraform_cloud_run_comment
Create a comment for a specific run in Hashicorp Terraform Cloud. Requires run_id. Returns id, type, body, associated run-event details, and self link in the response.
list_all_hashicorp_terraform_cloud_configuration_versions
List configuration-versions in Hashicorp Terraform Cloud for a workspace_id. Returns fields such as id, source, status, and links for each configuration-version in the response.
get_single_hashicorp_terraform_cloud_configuration_version_by_id
Get a configuration version in Hashicorp Terraform Cloud. Requires id. Returns id, type, attributes (error, error-message, source, speculative, status, status-timestamps, provisional), relationships, and links fields.
create_a_hashicorp_terraform_cloud_configuration_version
Create a configuration version in Hashicorp Terraform Cloud for a given workspace_id. Returns id, type, attributes (including auto-queue-runs, source, error, status, upload-url, speculative, provisional), relationships, and links in the response.
hashicorp_terraform_cloud_configuration_versions_archive
Archive a configuration version in Hashicorp Terraform Cloud. Requires configuration_version_id. Only configuration versions in the uploaded state and created via API/CLI, with no active runs and not in use, can be archived. No content is returned in the response.
configuration_versions_garbage_collection
Mark a configuration version for garbage collection in Hashicorp Terraform Cloud. Requires id. Returns information about the soft deletion action including status and result fields. Only available in Terraform Enterprise. Only configuration versions created by API or CLI, in uploaded state, and not the current version can be soft deleted.
delete_a_hashicorp_terraform_cloud_configuration_version_by_id
Permanently delete backing data for a specific configuration version in Hashicorp Terraform Cloud. Requires id. This action irreversibly removes all associated files for the configuration version. Only allowed for eligible configuration versions.
list_all_hashicorp_terraform_cloud_configuration_version_commits
Get commit information for a configuration version in Hashicorp Terraform Cloud. Requires id. Returns fields including branch, commit-message, commit-sha, commit-url, pull-request-title, and sender-username.
hashicorp_terraform_cloud_configuration_files_upload
Upload Terraform configuration files to a configuration version in Hashicorp Terraform Cloud by sending a tar.gz archive as the raw request body (application/octet-stream) to the archivist upload URL. object_id is the part after /v1/object/ in the upload-url attribute, which is returned only once when the configuration version is created (configuration-versions create). If auto-queue-runs was not set to false, a run is queued on the workspace automatically after the upload. Returns an empty body on success. Required: object_id, file.
hashicorp_terraform_cloud_configuration_files_download
Download configuration-files in Hashicorp Terraform Cloud using configuration_version_id. Returns a temporary redirect URL to a .tar.gz archive if the configuration version is in the uploaded state.
configuration_files_download_run_configuration_files
Download configuration files for a specific run in Hashicorp Terraform Cloud. Requires run_id. Returns the configuration files as a downloadable file.
garbage_collection_restore_configuration_version
Restore a configuration version marked for garbage collection in Hashicorp Terraform Cloud. Requires configuration_version_id. Returns the configuration version restored to its uploaded state if it is restorable; returns an error if not.
get_single_hashicorp_terraform_cloud_cost_estimate_by_id
Get a specific cost estimate in Hashicorp Terraform Cloud by id. Returns id, type, attributes (such as status, proposed/prior/delta monthly cost, resource counts, error-message, status-timestamps, resources), and links.self in the response.
list_all_hashicorp_terraform_cloud_saved_views
List saved views in Hashicorp Terraform Cloud for a specific organization. Requires organization_name. Returns id, type, name, created-at, query, and query-type for each saved view.
create_a_hashicorp_terraform_cloud_saved_view
Create a saved view in Hashicorp Terraform Cloud for a specific organization_name. Returns id, type, name, created-at, query details, and query-type in the response.
get_single_hashicorp_terraform_cloud_saved_view_by_id
Get details about a specific saved view in Hashicorp Terraform Cloud, including its name, created-at timestamp, query definition, and query-type. Requires organization_name and id. Returns fields such as id, type, attributes, and their contents.
update_a_hashicorp_terraform_cloud_saved_view_by_id
Update a saved view in Hashicorp Terraform Cloud using organization_name and id. Returns id, type, name, created-at, query, and query-type fields in the response.
delete_a_hashicorp_terraform_cloud_saved_view_by_id
Delete a saved view in Hashicorp Terraform Cloud. Requires organization_name and id. Returns id, type, and attributes including name, created-at, query details, and query-type of the deleted saved view.
list_all_hashicorp_terraform_cloud_query_saved_views
Re-execute a saved view's query to retrieve current results using organization_name and view_id. Returns workspace visibility details such as current-run-status, drifted, checks, project-name, workspace-name, and state-version-terraform-version.
hashicorp_terraform_cloud_query_saved_views_re_execute_as_csv
Get saved view results as CSV in Hashicorp Terraform Cloud. Requires organization_name and view_id. Returns a CSV with fields like current_run_status, drifted, workspace_name, project_name, and associated metadata for each view result.
list_all_hashicorp_terraform_cloud_organization_explorer
Query explorer data in Hashicorp Terraform Cloud for a specific organization using organization_name and type. Returns key attributes such as workspace status, drift, counts, module and provider details, and run statuses for each row.
hashicorp_terraform_cloud_organization_explorer_export
This endpoint can be used to download a full, unpaged export of the query results in CSV format (with the filter, sort, and field selections applied). Returns a CSV file with fields such as workspace details, organization_name, project_name, run statuses, and associated metadata. organization_name is required.
list_all_hashicorp_terraform_cloud_feature_sets
List feature-sets in Hashicorp Terraform Cloud. Returns each feature-set's id, type, and attributes such as name, description, identifier, plan, available features, and usage limits.
list_all_hashicorp_terraform_cloud_organization_feature_sets
List feature sets for organization in Hashicorp Terraform Cloud. Requires organization_name. Returns feature set id, name, status, and eligibility state for each feature set.
list_all_hashicorp_terraform_cloud_github_installations
List GitHub App installations in Hashicorp Terraform Cloud. Returns id, type, name, installation-id, icon-url, installation-type, and installation-url for each installation.
get_single_hashicorp_terraform_cloud_github_installation_by_id
Get information about a specific github-installations resource in Hashicorp Terraform Cloud. Requires id. Returns id, name, installation-id, icon-url, installation-type, and installation-url fields in the response.
list_all_hashicorp_terraform_cloud_invoices
List invoices for a specific organization in Hashicorp Terraform Cloud. Requires organization_name. Returns invoice id, created-at, external-link, number, paid, status, and total fields for each invoice.
hashicorp_terraform_cloud_invoices_retrieve_next_month_invoice
Get the next month's invoice for an organization in Hashicorp Terraform Cloud. Requires organization_name. Returns id, type, created-at, external-link, number, paid, status, and total in the response.
list_all_hashicorp_terraform_cloud_ip_ranges
Get IP Ranges in Hashicorp Terraform Cloud. Returns api, notifications, sentinel, and vcs fields with their corresponding IP address ranges.
get_single_hashicorp_terraform_cloud_no_code_module_by_id
Get properties of a specific no-code module in Hashicorp Terraform Cloud. Requires id. Returns id, type, attributes (enabled, version-pin), relationships (organization, registry-module, variable-options), and links.
update_a_hashicorp_terraform_cloud_no_code_module_by_id
Update no-code provisioning settings for a specific no-code-module in Hashicorp Terraform Cloud using id. Returns id, type, attributes (enabled, version-pin), and relationships (organization, registry-module, variable-options) in the response. Only accessible with user or team tokens, not organization tokens.
create_a_hashicorp_terraform_cloud_no_code_module
Enable no-code provisioning for a module in Hashicorp Terraform Cloud. Requires organization_name. Returns id, type, attributes (enabled, version-pin), relationships (organization, registry-module, variable-options), and links (self) in the response. The module must exist in the private registry and meet design requirements.
hashicorp_terraform_cloud_no_code_module_create_workspace
Create a workspace from a specific no-code module in Hashicorp Terraform Cloud using no_code_module_id. Returns key workspace information including id, name, environment, attributes, permissions, relationships, and links. Using an organization token is not permitted; a user or team token is required.
get_workspace_upgrade_plan_by_id
Get details and status of a workspace upgrade plan in Hashicorp Terraform Cloud. Requires no_code_module_id, workspace_id, and id. Returns status, plan-url, and related workspace information.
update_a_hashicorp_terraform_cloud_workspace_upgrade_plan_by_id
Confirm and apply a workspace upgrade plan in Hashicorp Terraform Cloud. Requires no_code_module_id, workspace_id, and id. Returns the result of finalizing the no-code provisioning workspace upgrade.
create_a_hashicorp_terraform_cloud_workspace_upgrade_plan
Initiate an upgrade plan for a workspace in Hashicorp Terraform Cloud. Requires no_code_module_id and id. Returns run id, plan status, plan-url, and workspace id and type in the response.
list_all_hashicorp_terraform_cloud_notification_configurations
List notification configurations in Hashicorp Terraform Cloud workspace. Requires workspace_id. Returns id, type, attributes (enabled, name, url, destination-type, triggers, created-at, updated-at), relationships, and links for each configuration.
create_a_hashicorp_terraform_cloud_notification_configuration
Create a notification configuration in Hashicorp Terraform Cloud for the specified workspace_id. Returns id, type, attributes (including enabled, name, url, destination-type, triggers, delivery-responses, created-at, updated-at), relationships, and links in the response.
get_notification_configuration_by_id
Get a specific notification configuration in Hashicorp Terraform Cloud by id. Returns fields including enabled, name, url, destination-type, triggers, delivery-responses, created-at, updated-at, and subscribable relationship.
update_notification_configuration_by_id
Update notification-configurations in Hashicorp Terraform Cloud by id. Returns enabled status, name, url, destination-type, token, triggers, delivery-responses, created-at, updated-at, subscribable relationship, and self link in the response.
delete_notification_configuration_by_id
Delete a notification configuration in Hashicorp Terraform Cloud. Requires id. No response content is returned.
hashicorp_terraform_cloud_notification_configurations_verify
Verify a notification configuration in Hashicorp Terraform Cloud. Requires notification_configuration_id. Returns attributes such as enabled, name, url, destination-type, triggers, delivery-responses, created-at, updated-at, and relationships.
create_team_notification_configuration
Create a team notification configuration in Hashicorp Terraform Cloud for the specified team_id. Returns id, type, attributes (such as enabled, name, url, destination-type, token, triggers, delivery-responses, created-at, updated-at), relationships, and links in the response.
list_all_team_notification_configurations
List team notification configurations in Hashicorp Terraform Cloud for the specified team_id. Returns id, type, attributes (enabled, name, url, destination-type, triggers, delivery-responses, created-at, updated-at), relationships, and links for each configuration.
list_all_hashicorp_terraform_cloud_oauth_clients
List OAuth Clients for a specific organization in Hashicorp Terraform Cloud. Requires organization_name. Returns id, type, attributes (created-at, callback-url, service-provider, etc.), and relationships (organization, projects, oauth-tokens, agent-pool) for each OAuth client.
get_single_hashicorp_terraform_cloud_oauth_client_by_id
Get details about a specific OAuth Client in Hashicorp Terraform Cloud. Requires id. Returns id, type, attributes like created-at, callback-url, service-provider, organization-scoped, and relationships to organization, projects, oauth-tokens, and agent-pool.
create_a_hashicorp_terraform_cloud_oauth_client
Create an OAuth client in Hashicorp Terraform Cloud for a specific organization using organization_name. Returns OAuth client id, callback-url, connect-path, service-provider, organization-scoped, and associated projects and agent-pool.
update_a_hashicorp_terraform_cloud_oauth_client_by_id
Update an OAuth Client in Hashicorp Terraform Cloud by id. Returns fields such as id, type, attributes (created-at, callback-url, service-provider, name, http-url, key, organization-scoped), and relationships (organization, projects, oauth-tokens, agent-pool) in the response. Use caution as updating attributes may impact workspaces using this OAuth client.
delete_a_hashicorp_terraform_cloud_oauth_client_by_id
Delete an OAuth client in Hashicorp Terraform Cloud. Requires id. Removing the OAuth client unlinks associated workspaces from their repositories, and these must be manually relinked.
create_a_hashicorp_terraform_cloud_oauth_client_project
Attach specified projects to an OAuth client in Hashicorp Terraform Cloud. Requires id. Returns details of attached projects including each project's id and type.
hashicorp_terraform_cloud_oauth_client_projects_delete_project
Detach an OAuth client from specified projects in Hashicorp Terraform Cloud. Requires id. Returns success if the OAuth client is detached from the provided projects.
list_all_hashicorp_terraform_cloud_oauth_tokens
List all oauth-tokens for an OAuth Client in Hashicorp Terraform Cloud. Requires oauth_client_id. Returns id, type, created-at, service-provider-user, has-ssh-key, and oauth-client info for each oauth-token.
get_single_hashicorp_terraform_cloud_oauth_token_by_id
Get a specific OAuth token in Hashicorp Terraform Cloud. Requires id. Returns id, type, created-at, service-provider-user, has-ssh-key, oauth-client relationship, and self link in the response.
update_a_hashicorp_terraform_cloud_oauth_token_by_id
Update an OAuth token in Hashicorp Terraform Cloud by id. Returns id, type, attributes (created-at, service-provider-user, has-ssh-key), relationships (oauth-client), and self link in the response.
delete_a_hashicorp_terraform_cloud_oauth_token_by_id
Delete an OAuth Token in Hashicorp Terraform Cloud. Requires id. The specified OAuth Token will be destroyed and cannot be recovered.
list_all_hashicorp_terraform_cloud_organization_entitlements
Get entitlement set for an organization in Hashicorp Terraform Cloud. Requires organization_name. Returns entitlement feature flags and organization limits such as agents, audit-logging, policy-limit, user-limit, and others.
list_all_hashicorp_terraform_cloud_organization_module_producers
List module producers in Hashicorp Terraform Cloud for a specific organization. Requires organization_name. Returns id, type, attributes (name, external-id), and links (self) for each producer.
list_all_hashicorp_terraform_cloud_users_own_memberships
List organization-memberships for the currently authenticated user in Hashicorp Terraform Cloud. Returns id, status, and related teams, user, and organization information for each membership.
list_all_hashicorp_terraform_cloud_organization_tags
List organization-tags in Hashicorp Terraform Cloud for a specific organization_name. Returns id, type, attributes (name, created-at, instance-count), and relationships.organization for each tag.
delete_a_hashicorp_terraform_cloud_organization_tag_by_id
Delete one or more tags from an organization in Hashicorp Terraform Cloud. Requires organization_name. No response body is returned.
hashicorp_terraform_cloud_organization_tags_add_workspace
Add workspaces to a specific organization tag in Hashicorp Terraform Cloud. Requires id. No response content is returned.
create_a_hashicorp_terraform_cloud_organization_token
Create an organization token in Hashicorp Terraform Cloud. Requires organization_name. Returns id, type, created-at, last-used-at, description, token, expired-at, and created-by fields in the response. Token can only be accessed on creation.
delete_a_hashicorp_terraform_cloud_organization_token_by_id
Delete the organization token in Hashicorp Terraform Cloud. Requires organization_name. No response body is returned.
create_a_hashicorp_terraform_cloud_plan_export
Create a plan export in Hashicorp Terraform Cloud. Returns id, type, attributes (data-type, status, status-timestamps), relationships (plan), and links (self) in the response.
get_single_hashicorp_terraform_cloud_plan_export_by_id
Get information about a specific plan export in Hashicorp Terraform Cloud. Requires id. Returns attributes such as data-type, status, status-timestamps, related plan id, and links including self and download.
hashicorp_terraform_cloud_plan_exports_download
Download exported plan data in Hashicorp Terraform Cloud by id. Returns a temporary URL to a .tar.gz archive containing the exported plan data. Requires id. Main response field is the redirect to the download URL.
delete_a_hashicorp_terraform_cloud_plan_export_by_id
Delete exported plan data in Hashicorp Terraform Cloud. Requires id. Deletes a specific plan export before its standard one-hour expiry. No content is returned in the response.
get_single_hashicorp_terraform_cloud_plan_by_id
Get information about a specific plan in Hashicorp Terraform Cloud. Requires id. Returns plan id, status, execution details, resource changes, change log, timestamps, and related links in the response.
list_all_hashicorp_terraform_cloud_json_execution_plans
Retrieve the JSON execution plan in Hashicorp Terraform Cloud. Requires plan_id. Returns a temporary redirect URL for the JSON formatted execution plan, valid for 1 minute, and supports plans using Terraform 0.12 and later.
list_all_hashicorp_terraform_cloud_organization_policies
List policies in Hashicorp Terraform Cloud for a specific organization_name. Returns fields such as id, name, description, enforcement-level, policy-set-count, kind, updated-at, and links for each policy.
create_a_hashicorp_terraform_cloud_organization_policy
Create an organization-policies resource in Hashicorp Terraform Cloud. Requires organization_name. Returns id, type, attributes (name, description, kind, enforcement-level, enforce, query, policy-set-count, updated-at), relationships (organization, policy-sets), and links (self, upload) in the response.
get_single_hashicorp_terraform_cloud_organization_policy_by_id
Get details about a specific organization-policies in Hashicorp Terraform Cloud. Requires id. Returns fields such as name, description, kind, enforcement-level, enforce details, policy-set-count, updated-at, organization and policy-set relationships, and relevant links.
update_a_hashicorp_terraform_cloud_organization_policy_by_id
Update an organization policy in Hashicorp Terraform Cloud using id. Returns the updated policy's id, type, description, query, and enforcement-level fields in the response.
delete_a_hashicorp_terraform_cloud_organization_policy_by_id
Delete an organization policy in Hashicorp Terraform Cloud. Requires id. No content is returned in the response.
hashicorp_terraform_cloud_organization_policies_upload
Upload the code of an existing Sentinel or OPA policy in Hashicorp Terraform Cloud using policy_id (from create or list policies, e.g. pol-oXUppaX2ximkqp8w). The policy code is sent as the raw request body (application/octet-stream), not as a JSON:API document, and is limited to 10MB (larger uploads return 413). Returns an empty body on success. Required: policy_id, file.
list_all_hashicorp_terraform_cloud_policy_checks
List policy checks in a run in Hashicorp Terraform Cloud. Requires run_id. Returns id, type, attributes (including result, status, and actions), relationships, and links for each policy check.
get_single_hashicorp_terraform_cloud_policy_check_by_id
Get details about a specific policy check in Hashicorp Terraform Cloud by id. Returns id, attributes such as result, scope, status, actions, permissions, relationships, and links in the response.
hashicorp_terraform_cloud_policy_checks_override
Override a soft-mandatory or warning policy for a specific policy-check in Hashicorp Terraform Cloud. Requires id. Returns result details, scope, status, status-timestamps, actions, permissions, and output link in the response.
list_all_hashicorp_terraform_cloud_policy_evaluations
List policy evaluations for a specific task stage in Hashicorp Terraform Cloud. Requires task_stage_id. Returns policy evaluation id, status, policy-kind, policy-tool-version, result-count, timestamps, and related relationships.
list_all_hashicorp_terraform_cloud_policy_outcomes
List policy set outcomes for a specific policy evaluation in Hashicorp Terraform Cloud. Requires policy_evaluation_id. Returns id, outcomes, policy-set-name, error, overridable, result-count, and related policy evaluation details in the response.
get_single_hashicorp_terraform_cloud_policy_outcome_by_id
Get a policy outcome in Hashicorp Terraform Cloud. Requires id. Returns fields such as outcomes (policy results), error, overridable status, policy-set-name, policy-tool-version, result-count, and linked policy-evaluation.
list_all_hashicorp_terraform_cloud_policy_sets
List policy-sets in Hashicorp Terraform Cloud for a specific organization_name. Returns each policy-set's id, name, description, kind, versioned status, workspace-count, vcs-repo settings, timestamps, relationships, and self link.
create_a_hashicorp_terraform_cloud_policy_set
Create a policy set in Hashicorp Terraform Cloud for a specific organization using organization_name. Returns id, type, attributes (name, description, kind, global, agent-enabled, policy-tool-version, overridable, workspace-count, policy-count, created-at, updated-at), relationships (organization, projects, policies, workspaces, workspace-exclusions), and links.self in the response.
get_single_hashicorp_terraform_cloud_policy_set_by_id
Get details about a specific policy set in Hashicorp Terraform Cloud using id. Returns fields such as name, description, kind, policy count, workspace count, vcs-repo details, and related relationships.
update_a_hashicorp_terraform_cloud_policy_set_by_id
Update a specific policy set in Hashicorp Terraform Cloud. Requires id. Returns id, type, attributes (name, description, global, kind, agent-enabled, policy-tool-version, overridable, policy-count, workspace-count, versioned, created-at, updated-at), relationships, and links.self in the response.
hashicorp_terraform_cloud_policy_sets_add_policies
Add policies to a specific policy set in Hashicorp Terraform Cloud. Requires policy_set_id. Returns the list of added policies and their identifiers in the response.
hashicorp_terraform_cloud_policy_sets_attach_to_projects
Attach a policy set to projects in Hashicorp Terraform Cloud using policy_set_id. Returns updated policy set-project relationships.
hashicorp_terraform_cloud_policy_sets_attach_to_workspaces
Attach a policy set to specified workspaces in Hashicorp Terraform Cloud. Requires policy_set_id. Returns attached workspace ids and types in the response.
hashicorp_terraform_cloud_policy_sets_exclude_workspace
Exclude workspaces from a specific policy set in Hashicorp Terraform Cloud. Requires policy_set_id. Returns confirmation of workspace exclusions applied to the policy set.
hashicorp_terraform_cloud_policy_sets_detach_from_projects
Detach a policy set from specified projects in Hashicorp Terraform Cloud. Requires id. Returns details of the detached relationships.
hashicorp_terraform_cloud_policy_sets_detach_from_workspaces
Detach a policy set from specified workspaces in Hashicorp Terraform Cloud. Requires policy_set_id. The request must include a list of workspaces to detach with their id and type. Returns status of detachment.
hashicorp_terraform_cloud_policy_sets_reinclude_workspace
Reinclude specified workspaces to a policy set in Hashicorp Terraform Cloud. Requires id. Returns the updated policy set and workspace enforcement status fields in the response.
delete_a_hashicorp_terraform_cloud_policy_set_by_id
Delete a specific policy set in Hashicorp Terraform Cloud using id. No content is returned in the response.
hashicorp_terraform_cloud_policy_sets_remove_policy_sets
Remove policies from a specific policy set in Hashicorp Terraform Cloud. Requires id. No content is returned in the response.
get_single_hashicorp_terraform_cloud_policy_set_version_by_id
Get a specific policy set version in Hashicorp Terraform Cloud. Requires id. Returns fields such as id, type, source, status, status-timestamps, error, created-at, updated-at, related policy-set, and links.
create_a_hashicorp_terraform_cloud_policy_set_version
Create a new policy set version in Hashicorp Terraform Cloud for a specific policy set without VCS. Returns id, status, source, timestamps, and upload link for the version.
hashicorp_terraform_cloud_policy_set_versions_upload
Upload the contents of a policy set version in Hashicorp Terraform Cloud by sending a tar.gz archive as the raw request body (application/octet-stream) to the archivist upload URL. object_id is the part after /v1/object/ in links.upload of the policy set version created with policy-set-versions create; the link is valid for one hour. After a successful upload the version status changes from pending to ready. Returns an empty body on success. Required: object_id, file.
create_a_hashicorp_terraform_cloud_policy_set_parameter
Create a parameter in Hashicorp Terraform Cloud policy set using policy_set_id. Returns id, type, key, value, sensitive, category, configurable relationship, and links in the response.
list_all_hashicorp_terraform_cloud_policy_set_parameters
List parameters for a specific policy set in Hashicorp Terraform Cloud using policy_set_id. Returns a list of parameters with fields: id, type, key, value, sensitive, category, and configurable relationship.
update_a_hashicorp_terraform_cloud_policy_set_parameter_by_id
Update a specific policy set parameter in Hashicorp Terraform Cloud. Requires policy_set_id and id. Returns the updated parameter fields, including key, value, category, and sensitive.
delete_a_hashicorp_terraform_cloud_policy_set_parameter_by_id
Delete a specific policy-set-parameters resource in Hashicorp Terraform Cloud. Requires policy_set_id and id. No content is returned in the response.
list_all_hashicorp_terraform_cloud_registry_modules
List registry-modules for an organization in Hashicorp Terraform Cloud. Requires organization_name. Returns id, type, attributes (name, namespace, provider, status, version-statuses, created-at, updated-at, registry-name, permissions), relationships, and links for each registry module.
create_a_hashicorp_terraform_cloud_registry_module
Create a registry module with no VCS connection in Hashicorp Terraform Cloud. Requires organization_name. Returns id, name, namespace, provider, registry-name, status, version-statuses, created-at, updated-at, permissions, and module self link in the response.
update_a_hashicorp_terraform_cloud_registry_module_by_id
Update a Private Registry Module in Hashicorp Terraform Cloud for a specific organization_name, namespace, name, and provider. Returns id, type, attributes including module details, vcs-repo information, permissions, test-config, relationships, and self link.
delete_a_hashicorp_terraform_cloud_registry_module_by_id
Delete a module provider and all of its versions from the public or private registry in Hashicorp Terraform Cloud using organization_name, registry_name, namespace, name, and id (the provider, e.g. aws). The token must belong to the organization's owners team. Returns an empty body (204) on success.
get_single_hashicorp_terraform_cloud_registry_module_by_id
Get registry module in Hashicorp Terraform Cloud using organization_name, registry_name, namespace, name, and id. Returns id, name, provider, namespace, registry-name, status, version-statuses, created-at, updated-at, vcs-repo, permissions fields.
hashicorp_terraform_cloud_registry_modules_create_module_version
Create a new module version in Hashicorp Terraform Cloud. Requires organization_name, registry_name, namespace, name, and provider. Returns id, version, and upload_url for the new registry module version.
hashicorp_terraform_cloud_registry_modules_delete_version
Delete a Module in Hashicorp Terraform Cloud. are replaced by the below endpoints and will be removed from future versions of the API! Required: organization_name, registry_name, namespace, name, provider, version.
hashicorp_terraform_cloud_registry_modules_delete_module
Delete a Module in Hashicorp Terraform Cloud. are replaced by the below endpoints and will be removed from future versions of the API! Required: organization_name, registry_name, namespace, name.
hashicorp_terraform_cloud_registry_modules_publish_from_vcs
Publish a Private Module from a VCS in Hashicorp Terraform Cloud. Deprecation warning : the following endpoint is replaced by the below endpoint and will be removed from future versions of the API! Publishes a new registry private module from a VCS repository, with module versions managed automatically by the repository's tags. The publishing process will fetch all tags in the source repository that look like SemVer versions with optional 'v' prefix. For each version, the tag is cloned and the config parsed… Required: organization_name, body data.
hashicorp_terraform_cloud_module_versions_deprecate
Deprecate a specific module version in Hashicorp Terraform Cloud. Requires organization_name, module_name, module_provider, and module_version. Returns module version id, deprecation relationship, and deprecation details including link and reason.
module_versions_revert_deprecation_status
Revert deprecation status for a specific module version in Hashicorp Terraform Cloud. Requires organization_name, module_name, module_provider, and module_version. Returns type and id of the module version.
hashicorp_terraform_cloud_module_versions_revoke
Revoke a module version in Hashicorp Terraform Cloud. Requires organization_name, module_name, module_provider, and module_version. Returns id, status, version, revocation details, creation and update timestamps, and related registry-module information in the response.
module_versions_revert_revocation_status
Revert the revocation status for a module version in Hashicorp Terraform Cloud. Requires organization_name, module_name, module_provider, and module_version. Returns id, status, version, source, revocation status, registry-module relationship, and upload link.
hashicorp_terraform_cloud_module_versions_fetch_revocation_data
Get details about a specific module version in Hashicorp Terraform Cloud. Returns id, type, attributes (including status, version, revocation info), relationships, and links. Requires organization_name, registry_name, namespace, name, and provider.
list_all_hashicorp_terraform_cloud_module_versions
Get all versions of a specific module in Hashicorp Terraform Cloud by github_organization, module, and provider. Returns each version's version info and deprecation status, including reason and link fields if deprecated.
list_all_hashicorp_terraform_cloud_registry_providers
List registry-providers for a specific organization in Hashicorp Terraform Cloud. Requires organization_name. Returns id, type, attributes (name, namespace, created-at, updated-at, registry-name, permissions), relationships, and links for each provider.
create_a_hashicorp_terraform_cloud_registry_provider
Create a registry provider in Hashicorp Terraform Cloud within a specific organization using organization_name. Returns id, type, name, namespace, registry-name, created-at, updated-at, permissions, relationships, and links.
get_single_hashicorp_terraform_cloud_registry_provider_by_id
Get a specific registry provider in Hashicorp Terraform Cloud. Requires organization_name, registry_name, namespace, and id. Returns id, name, namespace, created-at, updated-at, registry-name, permissions, relationships, and links in the response.
delete_a_hashicorp_terraform_cloud_registry_provider_by_id
Delete a provider in Hashicorp Terraform Cloud registry using organization_name, registry_name, namespace, and id. Returns status of the deletion operation.
update_a_hashicorp_terraform_cloud_registry_provider_by_id
Add or Update Tags to a Registry Provider in Hashicorp Terraform Cloud. Adds or updates tags for a registry provider in your organization's registry. Send a PATCH request to the following endpoint to adds or update tags for a registry provider in your organization's registry. To remove tags from a registry module, omit the tags from the request body. Required: id, organization_name, registry_name, namespace, body data.
create_a_hashicorp_terraform_cloud_provider_version
Create a provider version in Hashicorp Terraform Cloud. Requires organization_name, registry_name, namespace, and name. Returns id, version, created-at, updated-at, key-id, protocols, permissions, shasums-uploaded, shasums-sig-uploaded, relationships, and links.
list_all_hashicorp_terraform_cloud_provider_versions
List provider-versions for a specific provider in Hashicorp Terraform Cloud. Requires organization_name, namespace, and name. Returns provider version details including id, version, created-at, updated-at, key-id, protocols, permissions, shasums-uploaded, shasums-sig-uploaded, platforms, and download links.
get_single_hashicorp_terraform_cloud_provider_version_by_id
Get provider-versions in Hashicorp Terraform Cloud using organization_name, namespace, name, and id. Returns version, created-at, updated-at, key-id, protocols, permissions, shasums-uploaded, shasums-sig-uploaded, and related relationships.
delete_a_hashicorp_terraform_cloud_provider_version_by_id
Delete a provider version in Hashicorp Terraform Cloud. Requires organization_name, registry_name, namespace, name, and id. No fields are returned in the response.
create_a_hashicorp_terraform_cloud_provider_platform
Create a provider platform in Hashicorp Terraform Cloud. Requires organization_name, namespace, name, and version. Returns id, type, attributes (os, arch, filename, shasum, permissions, provider-binary-uploaded), relationships, and provider-binary-upload link in the response.
list_all_hashicorp_terraform_cloud_provider_platforms
List all provider-platforms for a specific provider version in Hashicorp Terraform Cloud using organization_name, registry_name, namespace, name, and version. Returns id, os, arch, filename, shasum, permissions, provider-binary-uploaded, and provider-binary-download link for each platform.
get_single_hashicorp_terraform_cloud_provider_platform_by_id
Get provider platform information in Hashicorp Terraform Cloud. Requires organization_name, registry_name, namespace, name, version, os, and id. Returns id, type, attributes (os, arch, filename, shasum, permissions, provider-binary-uploaded), relationships, and download links.
delete_a_hashicorp_terraform_cloud_provider_platform_by_id
Delete a specific provider platform in Hashicorp Terraform Cloud using organization_name, registry_name, namespace, name, version, os, and id. Deletes the targeted platform. Returns no content in the response.
list_all_hashicorp_terraform_cloud_gpg_keys
List GPG Keys in Hashicorp Terraform Cloud private registry using a required filter[namespace] parameter. Returns id, ascii-armor, key-id, namespace, created-at, updated-at, source, source-url, trust-signature for each key.
create_a_hashicorp_terraform_cloud_gpg_key
Create a GPG key in Hashicorp Terraform Cloud private registry. Requires registry_name, type, namespace, and ascii-armor. Returns id, ascii-armor, created-at, key-id, namespace, source, source-url, trust-signature, updated-at, and links.self in the response.
get_single_hashicorp_terraform_cloud_gpg_key_by_id
Get a GPG key in Hashicorp Terraform Cloud. Requires namespace and id. Returns type, id, ascii-armor, created-at, key-id, namespace, source, source-url, trust-signature, updated-at, and links.self.
update_a_hashicorp_terraform_cloud_gpg_key_by_id
Update a specific gpg-keys resource in Hashicorp Terraform Cloud. Requires namespace, and id. Returns the updated gpg-keys fields including type and updated namespace.
delete_a_hashicorp_terraform_cloud_gpg_key_by_id
Delete a GPG key in Hashicorp Terraform Cloud using namespace and id. No response content is returned on success.
create_a_hashicorp_terraform_cloud_test
Create a test run for a private registry module in Hashicorp Terraform Cloud. Requires organization_name, namespace, name, and provider. Returns id, status, created-at, updated-at, variables, test-directory, filters, verbose, and related configuration-version and created-by information in the response.
hashicorp_terraform_cloud_tests_create_configuration_version
Create a configuration version for a test in Hashicorp Terraform Cloud. Requires organization_name, namespace, name, and provider. Returns details about the newly created configuration version including its id and attributes.
hashicorp_terraform_cloud_tests_upload_configuration_files
Upload the Terraform test configuration files for a private registry module test run in Hashicorp Terraform Cloud by sending a tar.gz archive as the raw request body (application/octet-stream) to the archivist upload URL. object_id is the part after /v1/object/ in the upload-url returned by tests create-configuration-version. After the upload, a test run can be created with tests create. Returns an empty body on success. Required: object_id, file.
list_all_hashicorp_terraform_cloud_tests
List tests for a module in Hashicorp Terraform Cloud. Requires organization_name, namespace, name, and provider. Returns id, status, timestamps, log-read-url, test results, test status, and related configuration version and user fields.
get_single_hashicorp_terraform_cloud_test_by_id
Get details about a specific test run in Hashicorp Terraform Cloud. Requires organization_name, namespace, name, provider, and id. Returns status, log-read-url, test-status, tests-passed, message, timestamps, and related configuration and user.
hashicorp_terraform_cloud_tests_cancel
Cancel a test run in Hashicorp Terraform Cloud. Requires organization_name, namespace, name, provider, and id. Returns confirmation of the cancellation and status of the test run.
hashicorp_terraform_cloud_tests_forcefully_cancel
Forcefully cancel a specific test in Hashicorp Terraform Cloud. Requires organization_name, namespace, name, provider, and test_run_id. Returns the test's new state and confirms immediate cancellation.
list_all_hashicorp_terraform_cloud_test_variables
List test-variables for a module in Hashicorp Terraform Cloud. Requires organization_name, namespace, name, and provider. Returns id, key, value, sensitive, category, hcl, created-at, description, version-id, and self link for each variable.
update_a_hashicorp_terraform_cloud_test_variable_by_id
Update a specific test variable for a module in Hashicorp Terraform Cloud. Requires organization_name, namespace, name, provider, and id. Returns id, type, and attributes including key, value, description, sensitive, category, and hcl.
delete_a_hashicorp_terraform_cloud_test_variable_by_id
Delete a test variable for a private registry module in Hashicorp Terraform Cloud. Requires organization_name, namespace, name, provider, and id. Returns no content on success.
create_a_hashicorp_terraform_cloud_test_variable
Create a test variable in Hashicorp Terraform Cloud for a specific module in an organization. Requires organization_name, namespace, name, and provider. Returns id, key, value, sensitive, category, created-at, description, version-id, and related links in the response.
list_all_hashicorp_terraform_cloud_project_tag_bindings
List tag bindings for a project in Hashicorp Terraform Cloud. Requires project_id. Returns key, value, and created-at for each tag binding.
create_a_hashicorp_terraform_cloud_project_tag_binding
Add or update tag bindings on a project in Hashicorp Terraform Cloud. Use this endpoint to add key-value tag bindings to a project or to update the values of existing tag bindings by key. This endpoint does not remove tag bindings that you omit from the request, so use it when you want a modification to be additive. To replace the full set of tag bindings, use the PATCH endpoint instead. Tag bindings have the following constraints and behaviors: Required: project_id.
list_all_hashicorp_terraform_cloud_team_projects
List team access to a project in Hashicorp Terraform Cloud. Requires filter[project][id] parameter. Returns id, access details, project-access, workspace-access, team and project relationship fields for each team-project access.
get_single_hashicorp_terraform_cloud_team_project_by_id
Get a team-project access relationship in Hashicorp Terraform Cloud using id. Returns access level, project-access, workspace-access, related team and project ids, and relevant links in the response.
create_a_hashicorp_terraform_cloud_team_project
Create team-projects access in Hashicorp Terraform Cloud. Returns id, access level, project and team relationships, and detailed access permissions for the assigned project and workspaces in the response.
update_a_hashicorp_terraform_cloud_team_project_by_id
Update access for a specific team-project relationship in Hashicorp Terraform Cloud. Requires id. Returns the updated id, access type, and access attributes in the response.
delete_a_hashicorp_terraform_cloud_team_project_by_id
Delete a specific team-project relationship in Hashicorp Terraform Cloud. Requires id. No fields are returned in the response.
list_all_hashicorp_terraform_cloud_reserved_tag_keys
List reserved tag keys in Hashicorp Terraform Cloud for a specific organization_name. Returns id, key, disable-overrides, created-at, and updated-at fields for each reserved tag key.
create_a_hashicorp_terraform_cloud_reserved_tag_key
Create a reserved tag key in Hashicorp Terraform Cloud for a specific organization using organization_name. Returns id, key, disable-overrides, created-at, and updated-at fields in the response.
update_a_hashicorp_terraform_cloud_reserved_tag_key_by_id
Update reserved-tag-keys in Hashicorp Terraform Cloud. Requires id. Returns id, type, key, disable-overrides, created-at, and updated-at for the reserved-tag-keys.
delete_a_hashicorp_terraform_cloud_reserved_tag_key_by_id
Delete a reserved tag key in Hashicorp Terraform Cloud. Requires id. No payload required. No content is returned in the response.
create_a_hashicorp_terraform_cloud_run
Create a run in Hashicorp Terraform Cloud using the specified workspace id. Returns run id, status, created-at, message, permissions, and key run attributes such as auto-apply, plan-only, actions, and status timestamps.
hashicorp_terraform_cloud_runs_apply
Apply a run in Hashicorp Terraform Cloud. Requires run_id. Queues a request to perform an apply for a run that is paused waiting for confirmation. No response body is returned.
list_all_hashicorp_terraform_cloud_runs
List runs in a specific workspace in Hashicorp Terraform Cloud. Requires workspace_id. Returns id, created-at, status, message, permissions, and related resources for each run.
get_single_hashicorp_terraform_cloud_run_by_id
Get details of a specific run in Hashicorp Terraform Cloud. Requires id. Returns id, status, message, has-changes, created-at, and workspace details in the response.
hashicorp_terraform_cloud_runs_discard
Discard a specific run in Hashicorp Terraform Cloud using run_id. Completes the run and allows later runs to proceed. No response body is returned.
hashicorp_terraform_cloud_runs_cancel
Cancel a specific run in Hashicorp Terraform Cloud. Requires run_id. This action interrupts a run that is currently planning or applying. No object is returned in the response.
hashicorp_terraform_cloud_runs_forcefully_cancel
Forcefully cancel a specific run in Hashicorp Terraform Cloud. Requires run_id. Ends the run immediately, places it into a canceled state, and unlocks the workspace for further runs. No response body is returned.
hashicorp_terraform_cloud_runs_forcefully_execute
Forcefully execute a run in Hashicorp Terraform Cloud. Requires run_id. This action cancels all incomplete prior runs, unlocks the workspace, and executes the specified run. No object is returned in the response.
hashicorp_terraform_cloud_runs_list_in_organization
List Runs in an Organization in Hashicorp Terraform Cloud. This endpoint has an adjusted rate limit of 30 requests per minute. Note that most endpoints are limited to 30 requests per second. Note that this endpoint differs from others in the pagination metadata included in the response, such as the exclusion of the typical total-count and total-pages . See the Sample Response below for more details. Required: organization_name.
create_a_hashicorp_terraform_cloud_run_trigger
Create a run trigger in Hashicorp Terraform Cloud for the specified workspace_id. Returns id, workspace-name, sourceable-name, created-at, relationships for workspace and sourceable, and self link in the response.
list_all_hashicorp_terraform_cloud_run_triggers
List run-triggers in Hashicorp Terraform Cloud for a workspace. Requires workspace_id and filter[run-trigger][type]. Returns id, type, attributes (workspace-name, sourceable-name, created-at), relationships (workspace, sourceable), and links for each run-trigger.
get_single_hashicorp_terraform_cloud_run_trigger_by_id
Show a Run Trigger in Hashicorp Terraform Cloud. Required: id.
delete_a_hashicorp_terraform_cloud_run_trigger_by_id
Delete a Run Trigger in Hashicorp Terraform Cloud. Required: id.
list_all_hashicorp_terraform_cloud_ssh_keys
List SSH keys in Hashicorp Terraform Cloud for the specified organization_name. Returns each SSH key's id, name, self link, and type in the response.
get_single_hashicorp_terraform_cloud_ssh_key_by_id
Get information about a specific SSH key in Hashicorp Terraform Cloud. Requires id. Returns id, name, type, and self link. This endpoint does not retrieve the key text and cannot be accessed with organization tokens.
create_a_hashicorp_terraform_cloud_ssh_key
Create an SSH key in Hashicorp Terraform Cloud for a specific organization using organization_name. Returns id, name, links.self, and type fields in the response.
update_a_hashicorp_terraform_cloud_ssh_key_by_id
Update an SSH key in Hashicorp Terraform Cloud using id. Returns name (the updated name of the SSH key), id (the SSH key identifier), links.self (API self-link), and type in the response.
delete_a_hashicorp_terraform_cloud_ssh_key_by_id
Delete an SSH key in Hashicorp Terraform Cloud. Requires id. No content is returned in the response.
list_all_hashicorp_terraform_cloud_state_versions
List state-versions in Hashicorp Terraform Cloud for a workspace and organization. Requires workspace_name and organization_name. Returns id, attributes (created-at, size, status, serial), relationships, and download URLs for each state-version.
get_single_hashicorp_terraform_cloud_state_version_by_id
Get a state-version in Hashicorp Terraform Cloud. Requires id. Returns fields including id, type, created-at, size, status, serial, terraform-version, modules, providers, resources, vcs-commit-url, and relationships.
delete_a_hashicorp_terraform_cloud_state_version_by_id
Permanently delete the backing data of a state version in Hashicorp Terraform Cloud (POST /state-versions/:id/actions/permanently_delete_backing_data). Requires id. This cannot be undone.
hashicorp_terraform_cloud_state_versions_roll_back
Rollback state-versions in Hashicorp Terraform Cloud. Requires workspace_id and id of the state version to use for rollback. Returns id, created-at, size, hosted-state-download-url, resources, providers, serial, state-version, terraform-version.
state_versions_mark_for_garbage_collections
Soft delete a specific state version in Hashicorp Terraform Cloud. Requires id. Returns state version fields including status, size, created-at, urls, delete-older-than-n-days, resources, providers, and key relationships. Only finalized, non-current state versions can be soft deleted.
hashicorp_terraform_cloud_state_versions_restore_state
Restore a state version that was marked for garbage collection in Hashicorp Terraform Cloud (POST /state-versions/:state_version_id/actions/restore_backing_data). Requires state_version_id. Returns the state version: id, type, attributes (status, hosted-state-download-url, created-at, size), relationships, and links.
create_a_hashicorp_terraform_cloud_state_version
Create a state version in Hashicorp Terraform Cloud for the specified workspace_id. Returns id, created-at, hosted-state-download-url, hosted-json-state-download-url, status, intermediate, serial, and self link. The workspace must be locked.
get_single_hashicorp_terraform_cloud_current_state_version_by_id
Fetch the current state version for a workspace in Hashicorp Terraform Cloud. Requires workspace_id. Returns id, created-at, status, hosted-state-download-url, serial, resources, terraform-version, and vcs-commit-sha in the response.
list_all_hashicorp_terraform_cloud_state_version_outputs
List state-version-outputs for a specific state_version_id in Hashicorp Terraform Cloud. Returns id, name, sensitive, type, value, detailed_type for each output.
get_single_hashicorp_terraform_cloud_state_version_output_by_id
Get a specific state-version-outputs resource in Hashicorp Terraform Cloud using id. Returns fields id, name, sensitive, type, value, detailed-type, and self link in the response.
list_all_hashicorp_terraform_cloud_current_state_version_outputs
Get current state version outputs for a workspace in Hashicorp Terraform Cloud. Requires workspace_id. Returns output id, name, sensitive, type, value, detailed-type, and self link. Sensitive values are returned as null and may be unavailable if still processing.
list_all_hashicorp_terraform_cloud_team_tokens
List team tokens in Hashicorp Terraform Cloud for a given organization_id. Returns id, type, created-at, last-used-at, description, token (only on creation), expired-at, and relationships to team and created-by. Tokens cannot be recovered after creation.
get_single_hashicorp_terraform_cloud_team_token_by_id
Get metadata about a specific team token in Hashicorp Terraform Cloud using id. Returns id, type, created-at, last-used-at, description, expired-at, team and created-by fields. Secret token text cannot be retrieved.
create_a_hashicorp_terraform_cloud_team_token
Create a new team token in Hashicorp Terraform Cloud for the specified team_id. Returns id, created-at, last-used-at, description, token (only on creation), expired-at, as well as team and created-by relationship fields. The token value can only be accessed once upon creation.
delete_a_hashicorp_terraform_cloud_team_token_by_id
Delete a team token in Hashicorp Terraform Cloud. Requires id. No response content on success.
hashicorp_terraform_cloud_team_tokens_bulk_delete
Delete one or more team tokens from an organization in Hashicorp Terraform Cloud in a single request. Requires organization_name and body data (array of {type: authentication-tokens, id}). Returns an empty body (204) on success.
list_all_hashicorp_terraform_cloud_user_tokens
List user-tokens for a specific user in Hashicorp Terraform Cloud. Requires user_id. Returns each token's id, creation time, last use, description, expiry, and creator; token secrets are never returned.
get_single_hashicorp_terraform_cloud_user_token_by_id
Get metadata about a specific user token in Hashicorp Terraform Cloud. Requires id. Returns fields: id, type, created-at, last-used-at, description, expired-at, and created-by for the token. Token value is not returned.
create_a_hashicorp_terraform_cloud_user_token
Create a user token in Hashicorp Terraform Cloud. Requires user_id. Returns id, type, created-at, last-used-at, description, token, expired-at, and created-by fields in the response. Token is only shown once and cannot be recovered later.
delete_a_hashicorp_terraform_cloud_user_token_by_id
Delete a user token in Hashicorp Terraform Cloud. Requires id. Only deletes tokens belonging to the authenticated user. Returns an empty response on success.
list_all_hashicorp_terraform_cloud_variables
List variables in Hashicorp Terraform Cloud. Returns a list with id, key, value, description, sensitive, category, hcl, and relationships (workspace info) for each variable.
create_a_hashicorp_terraform_cloud_variable
Create a variable in Hashicorp Terraform Cloud. Requires key, category, workspace id, and type in the request. Returns id, key, value, description, sensitive, category, hcl, and related configurable information.
update_a_hashicorp_terraform_cloud_variable_by_id
Update a specific variable in Hashicorp Terraform Cloud. Requires id. Returns id, type, and attributes (key, value, description, sensitive, category, hcl) of the updated variable, along with configurable workspace relationship and self link.
delete_a_hashicorp_terraform_cloud_variable_by_id
Delete a variable in Hashicorp Terraform Cloud. Requires id. No content is returned in the response.
list_all_hashicorp_terraform_cloud_variable_sets
List all variable sets in Hashicorp Terraform Cloud for a given organization_name. Returns id, attributes (name, description, global, priority, updated-at, var-count, workspace-count, project-count), and relationships (organization, vars, workspaces, projects, parent) for each variable set.
get_single_hashicorp_terraform_cloud_variable_set_by_id
Get details about a specific variable set in Hashicorp Terraform Cloud. Requires id. Returns name, description, global, priority, updated-at, var-count, workspace-count, project-count, and related organization, vars, workspaces, and projects.
create_a_hashicorp_terraform_cloud_variable_set
Create a variable set in Hashicorp Terraform Cloud using organization_name. Returns id, name, description, global, priority, relationships (workspaces, projects, vars, parent) in the response.
update_a_hashicorp_terraform_cloud_variable_set_by_id
Update a variable set in Hashicorp Terraform Cloud. Requires id. Returns the updated variable set fields including name, description, global, priority, relationships, and variable definitions. Cannot change parent organization or project.
delete_a_hashicorp_terraform_cloud_variable_set_by_id
Delete a variable set in Hashicorp Terraform Cloud. Requires id. No content is returned in the response.
list_all_hashicorp_terraform_cloud_variable_set_variables
List variables in a variable set in Hashicorp Terraform Cloud. Requires id. Returns id, key, value, sensitive, category, hcl, created-at, description fields for each variable in the response.
update_a_hashicorp_terraform_cloud_variable_set_variable_by_id
Update a variable-set-variable in Hashicorp Terraform Cloud. Requires varset_id and id. Returns key fields such as key, value, description, sensitive, category, and hcl in the response.
delete_a_hashicorp_terraform_cloud_variable_set_variable_by_id
Delete a variable from a variable set in Hashicorp Terraform Cloud. Requires varset_id and id. Returns an empty response on success.
hashicorp_terraform_cloud_variable_set_variables_add
Add Variable in Hashicorp Terraform Cloud. POST varsets/:varset_external_id/relationships/vars Required: varset_external_id, body data.
list_all_hashicorp_terraform_cloud_vcs_events
List VCS events in Hashicorp Terraform Cloud for the specified organization_name. Returns a list of VCS event objects including id, created-at, level, message, organization-id, and related oauth-client and oauth-token data.
list_all_hashicorp_terraform_cloud_workspace_variables
List workspace-variables for a specific workspace in Hashicorp Terraform Cloud. Requires workspace_id. Returns id, key, value, description, sensitive, category, hcl, version-id, and related workspace information for each variable.
create_a_hashicorp_terraform_cloud_workspace_variable
Create a workspace variable in Hashicorp Terraform Cloud. Requires workspace_id. Returns id, key, value, description, sensitive, category, hcl, version-id, and workspace relationship fields.
update_a_hashicorp_terraform_cloud_workspace_variable_by_id
Update a specific workspace variable in Hashicorp Terraform Cloud using workspace_id and id. Returns id, type, key, value, description, sensitive, category, hcl, version-id, relationships, and self link in the response.
delete_a_hashicorp_terraform_cloud_workspace_variable_by_id
Delete a specific workspace variable in Hashicorp Terraform Cloud. Requires workspace_id and id. No content is returned in the response.
list_all_hashicorp_terraform_cloud_workspace_team_access
List team access to a workspace in Hashicorp Terraform Cloud. Requires workspace_id. Returns id, type, access levels, team and workspace relationships for each team access entry.
get_single_hashicorp_terraform_cloud_workspace_team_access_by_id
Get a team/workspace access relationship in Hashicorp Terraform Cloud. Requires id. Returns id, access permissions (access, runs, variables, state-versions, etc.), related team and workspace, and workspace-locking status in the response.
create_a_hashicorp_terraform_cloud_workspace_team_access
Create team access in Hashicorp Terraform Cloud workspace. Requires data.type, data.attributes.access, data.relationships.workspace.data.type, data.relationships.workspace.data.id, data.relationships.team.data.type, and data.relationships.team.data.id. Returns id, type, and attribute fields describing the created team-workspace access.
update_a_hashicorp_terraform_cloud_workspace_team_access_by_id
Update workspace-team-access in Hashicorp Terraform Cloud using id. Returns access, runs, variables, state-versions, sentinel-mocks, workspace-locking, run-tasks, and related team and workspace relationship fields.
delete_a_hashicorp_terraform_cloud_workspace_team_access_by_id
Delete workspace-team-access in Hashicorp Terraform Cloud. Requires id. No content is returned in the response.
list_all_hashicorp_terraform_cloud_workspace_resources
List workspace-resources in Hashicorp Terraform Cloud for a specific workspace_id. Returns an array with id, type, and key attributes such as address, name, created-at, updated-at, module, provider, provider-type, and modified-by-state-version-id for each resource.
list_all_hashicorp_terraform_cloud_remote_state_consumers
List remote state consumers for a workspace in Hashicorp Terraform Cloud. Requires workspace_id. Returns remote workspace details such as id, type, name, execution-mode, permissions, created-at, and related links.
create_a_hashicorp_terraform_cloud_remote_state_consumer
Add one or more remote state consumers to a workspace in Hashicorp Terraform Cloud. Requires workspace_id. Returns id and type for each consumer added. Workspace cannot add itself as a consumer and global-remote-state must be false.
delete_a_hashicorp_terraform_cloud_remote_state_consumer_by_id
Delete remote state consumers from a workspace in Hashicorp Terraform Cloud. Requires workspace_id and a list of data objects with id and type fields. Returns no content in the response.
update_a_hashicorp_terraform_cloud_remote_state_consumer_by_id
Replace remote state consumers for a workspace in Hashicorp Terraform Cloud. Requires workspace_id and a list of workspaces with their id and type in the payload. Returns the updated remote state consumer workspace ids.
list_all_hashicorp_terraform_cloud_workspace_tags
List workspace-tags for a specific workspace in Hashicorp Terraform Cloud. Requires workspace_id. Returns id, name, created-at, instance-count, and related organization fields for each tag.
delete_a_hashicorp_terraform_cloud_workspace_tag_by_id
Remove one or more tags from a workspace in Hashicorp Terraform Cloud. Requires id. Returns a success response if tags with the specified type and id or attributes.name are removed.
create_a_hashicorp_terraform_cloud_workspace_tag
Add flat string tags to a workspace in Hashicorp Terraform Cloud. Requires workspace_id. Returns details about the added tags including type and either id or attributes.name for each tag.
list_all_hashicorp_terraform_cloud_workspace_tag_bindings
List key-value tags directly bound to a workspace in Hashicorp Terraform Cloud. Requires workspace_id. Returns id, key, value, and created-at for each tag-binding.
create_a_hashicorp_terraform_cloud_workspace_tag_binding
Add or update tag bindings on a workspace in Hashicorp Terraform Cloud (POST /workspaces/:workspace_id/relationships/tag-bindings). Requires workspace_id. Returns details for each added or updated tag, including key and value fields.
hashicorp_terraform_cloud_workspace_tag_bindings_replace
Replace tag bindings on a workspace in Hashicorp Terraform Cloud. Use this endpoint to replace all tag bindings set directly on a workspace. After the request completes, the workspace's tag bindings exactly match the request payload. The endpoint removes any existing tag binding whose key you omit from the request. Send an empty data array to remove all tag bindings from the workspace. Warning : This endpoint removes tag bindings that are not in the request payload. To add or update tag bindings without… Required: workspace_id.
get_single_hashicorp_terraform_cloud_data_retention_policy_by_id
Get the data retention policy for a specific workspace in Hashicorp Terraform Cloud. Requires workspace_id. Returns id, attributes, and other policy details in the response.
create_a_hashicorp_terraform_cloud_data_retention_policy
Create or update data retention policy in Hashicorp Terraform Cloud for a workspace. Requires workspace_id. Returns the created or updated data retention policy fields for the workspace.
delete_a_hashicorp_terraform_cloud_data_retention_policy_by_id
Delete the data-retention-policy for a workspace in Hashicorp Terraform Cloud. Requires workspace_id. Response returns the default organization policy if no policy is set for the workspace.
create_a_hashicorp_terraform_cloud_variable_set_workspace
Apply a variable set to workspaces in Hashicorp Terraform Cloud. Requires id. Returns the applied workspaces' id and type in the response.
delete_a_hashicorp_terraform_cloud_variable_set_workspace_by_id
Remove a variable set from multiple workspaces in Hashicorp Terraform Cloud. Requires id. Returns status of the removal operation.
create_a_hashicorp_terraform_cloud_variable_set_project
Apply a variable set to multiple projects in Hashicorp Terraform Cloud using id. Returns data array with project ids and type for each project the variable set was applied to.
delete_a_hashicorp_terraform_cloud_variable_set_project_by_id
Remove a variable set from specified projects in Hashicorp Terraform Cloud. Requires id of the variable set and a list of project ids. Returns confirmation of the removal operation.
create_a_hashicorp_terraform_cloud_team_user
Add user(s) to a team in Hashicorp Terraform Cloud. Requires team_id and user id(s). Returns user id and type fields for users added.
delete_a_hashicorp_terraform_cloud_team_user_by_id
Delete users from a team in Hashicorp Terraform Cloud. Requires id (team ID). Returns success if users are removed from the specified team. This does not delete the users overall.
create_a_hashicorp_terraform_cloud_team_organization_membership
Add multiple users to a team in Hashicorp Terraform Cloud using organization membership IDs. Requires team id. Returns added relationship information for each organization membership.
delete_team_organization_membership_by_id
Delete organization-membership users from a team in Hashicorp Terraform Cloud. Requires team_id. Returns nothing upon successful removal of users identified by ids.
get_organization_subscription_by_id
Get subscription details for an organization in Hashicorp Terraform Cloud. Requires organization_name. Returns id, is-active, start-at, end-at, is-public-free-tier, agents-ceiling, and related organization, billing-account, and feature-set links in the response.
get_single_hashicorp_terraform_cloud_subscription_by_id
Get details about a subscription in Hashicorp Terraform Cloud. Requires id. Returns fields such as id, type, end-at, is-active, start-at, runs-ceiling, associated organization, feature-set, and billing-account.
list_all_hashicorp_terraform_cloud_cidr_range_lists
List IP allowlists in Hashicorp Terraform Cloud. Required: organization_name.
create_a_hashicorp_terraform_cloud_cidr_range_list
Create an IP allowlist in Hashicorp Terraform Cloud. Required: organization_name, body data.
get_single_hashicorp_terraform_cloud_cidr_range_list_by_id
Show an IP allowlist in Hashicorp Terraform Cloud. Required: id.
update_a_hashicorp_terraform_cloud_cidr_range_list_by_id
Update an IP allowlist in Hashicorp Terraform Cloud. Required: id, body data.
delete_a_hashicorp_terraform_cloud_cidr_range_list_by_id
Delete an IP allowlist in Hashicorp Terraform Cloud. Required: id.
list_all_hashicorp_terraform_cloud_cidr_ranges
List CIDR ranges for an IP allowlist in Hashicorp Terraform Cloud. Required: cidr_range_list_id.
create_a_hashicorp_terraform_cloud_cidr_range
Add CIDR ranges to an IP allowlist in Hashicorp Terraform Cloud. Required: cidr_range_list_id, body data.
get_single_hashicorp_terraform_cloud_cidr_range_by_id
Show a CIDR range in Hashicorp Terraform Cloud. Required: id.
update_a_hashicorp_terraform_cloud_cidr_range_by_id
Update a CIDR range in Hashicorp Terraform Cloud. Required: id, body data.
delete_a_hashicorp_terraform_cloud_cidr_range_by_id
Delete a CIDR range in Hashicorp Terraform Cloud. Required: id.
hashicorp_terraform_cloud_cidr_range_list_agent_pools_remove
Remove agent pools from an IP allowlist in Hashicorp Terraform Cloud. This endpoint removes the association between agent pools and an IP allowlist. Required: cidr_range_list_id.
hashicorp_terraform_cloud_cidr_range_list_agent_pools_add
Add agent pools to an IP allowlist in Hashicorp Terraform Cloud. This endpoint associates agent pools with an IP allowlist, restricting which IP addresses can access those agent pools. You can call this endpoint only when the enforcement-scope attribute for IP allowlist is set to "selected_agent_pools" . Required: cidr_range_list_id, body data.
get_single_hashicorp_terraform_cloud_member_role_by_id
List all role assignments in Hashicorp Terraform Cloud. Required: id, resource_type.
create_a_hashicorp_terraform_cloud_hyok_configuration
Create an HYOK configuration in Hashicorp Terraform Cloud. Required: organization_name, body data.
list_all_hashicorp_terraform_cloud_hyok_configurations
List HYOK configurations for an organization in Hashicorp Terraform Cloud. Required: organization_name, filter[organization][name].
get_single_hashicorp_terraform_cloud_hyok_configuration_by_id
Show HYOK configuration in Hashicorp Terraform Cloud. Required: id.
delete_a_hashicorp_terraform_cloud_hyok_configuration_by_id
Delete HYOK configuration in Hashicorp Terraform Cloud. Required: id.
hashicorp_terraform_cloud_hyok_configurations_test
Test persisted HYOK configuration in Hashicorp Terraform Cloud. Required: hyok_configuration_id.
hashicorp_terraform_cloud_hyok_configurations_test_unpersisted
Test unpersisted HYOK configuration in Hashicorp Terraform Cloud. Required: organization_name.
hyok_configurations_refresh_key_versions
Check for New HYOK customer key versions in Hashicorp Terraform Cloud. Required: hyok_configuration_id.
hashicorp_terraform_cloud_hyok_customer_key_versions_revoke
Revoke HYOK configuration in Hashicorp Terraform Cloud. Required: hyok_customer_key_version_id.
list_all_hashicorp_terraform_cloud_hyok_customer_key_versions
List HYOK customer key versions for an HYOK configuration in Hashicorp Terraform Cloud. Required: hyok_configuration_id.
get_hyok_customer_key_version_by_id
Show HYOK customer key versions in Hashicorp Terraform Cloud. Required: id.
get_hyok_encrypted_data_key_by_id
Show HYOK encrypted data key in Hashicorp Terraform Cloud. Required: id.
create_a_hashicorp_terraform_cloud_oidc_configuration
Create OIDC configuration in Hashicorp Terraform Cloud. Required: organization_id, body data.
get_single_hashicorp_terraform_cloud_oidc_configuration_by_id
Show OIDC configuration in Hashicorp Terraform Cloud. Required: id.
create_a_hashicorp_terraform_cloud_metrics_token
Generate a new token in Hashicorp Terraform Cloud. Generates a new Metrics Service token. Only members of the owners team, the owners team API token , and the organization API token can access this endpoint. Required: organization_name, body data.
list_all_hashicorp_terraform_cloud_metrics_tokens
List tokens in Hashicorp Terraform Cloud. Lists all Metrics service tokens for the organization. Only members of the owners team, the owners team API token , and the organization API token can access this endpoint. Required: organization_name.
delete_a_hashicorp_terraform_cloud_metrics_token_by_id
Delete a token in Hashicorp Terraform Cloud. Deletes a Metrics Service token. Only members of the owners team, the owners team API token , and the organization API token can access this endpoint. Required: id, organization_name.
create_project_notification_configuration
Create a project notification configuration in Hashicorp Terraform Cloud. If a notification configuration has no users assigned, HCP Terraform sends email notifications to all project members. Use this endpoint to create a notification configuration to notify users. Required: project_id, body data.
list_all_project_notification_configurations
List project notification configurations in Hashicorp Terraform Cloud. Use this endpoint to list notification configurations for a project. Required: project_id.
hashicorp_terraform_cloud_policy_set_project_exclusions_exclude
Exclude projects from a global policy set in Hashicorp Terraform Cloud. Required: policy_set_id, body data.
policy_set_project_exclusions_reinclude
Reinclude projects in a global policy set in Hashicorp Terraform Cloud. Required: policy_set_id.
hashicorp_terraform_cloud_policy_set_stacks_attach
Attach a policy set to Stacks in Hashicorp Terraform Cloud. Required: policy_set_id, body data.
hashicorp_terraform_cloud_policy_set_stacks_detach
Detach a policy set from Stacks in Hashicorp Terraform Cloud. Required: policy_set_id.
hashicorp_terraform_cloud_policy_set_stack_exclusions_exclude
Exclude Stacks from a policy set in Hashicorp Terraform Cloud. Required: policy_set_id, body data.
hashicorp_terraform_cloud_policy_set_stack_exclusions_reinclude
Reinclude Stacks in a policy set in Hashicorp Terraform Cloud. Required: policy_set_id.
hashicorp_terraform_cloud_policy_set_tag_selectors_remove
Remove tag selectors from a policy set in Hashicorp Terraform Cloud. Required: policy_set_id.
hashicorp_terraform_cloud_policy_set_tag_selectors_add
Add tag selectors to a policy set in Hashicorp Terraform Cloud. This endpoint adds tag selectors to a policy set. The policy set must already have a tag-selector-matching-logic value, which you set with the Update a policy set endpoint. HCP Terraform returns an error if the policy set has workspace or project attachments or exclusions. If the policy set has Stack attachments or exclusions, HCP Terraform removes them and the policy set switches to tag-based scoping. Required: policy_set_id, body data.
list_all_hashicorp_terraform_cloud_ootb_policies
List pre-written policies in Hashicorp Terraform Cloud. Returns all active HashiCorp managed pre-written policies from ingested releases of active libraries. Required: organization_name.
get_single_hashicorp_terraform_cloud_ootb_policy_by_id
Show a pre-written policy in Hashicorp Terraform Cloud. Required: id, organization_name.
list_all_hashicorp_terraform_cloud_ootb_policy_download
in Hashicorp Terraform Cloud. HashiCorp managed pre-written policies, or Out-of-the-box (OOTB) policies, are pre-built policy definitions sourced from curated compliance framework libraries. This endpoint returns the set of distinct values currently present in the catalog that can be used as filter parameters when calling the List pre-written policies endpoint. This endpoint provides a redirect to allow downloading a pre-written policy. Returns the latest version by… Required: external_id.
list_all_hashicorp_terraform_cloud_ootb_policy_filter_options
Get pre-written policy filter options in Hashicorp Terraform Cloud. Returns the set of values available for filtering the HashiCorp managed pre-written policy catalog: providers, governed resource types, libraries (compliance frameworks), and services. Each library slug is a valid value for the collection endpoint's filter[library] parameter. Optionally scoped to a single policy kind via filter[kind] . Required: organization_name.
get_tag_binding_bulk_action_by_id
Get a bulk tagging job status in Hashicorp Terraform Cloud. After HCP Terraform schedules a bulk action job, query the following endpoint to get the status and result of the job: Required: id.
hashicorp_terraform_cloud_tag_binding_bulk_actions_add
Add tags in bulk in Hashicorp Terraform Cloud. Adds the specified tags to the target artifacts. If a target already contains a tag, then HCP Terraform ignores that tag for that target. Required: body data.
hashicorp_terraform_cloud_tag_binding_bulk_actions_remove
Remove tags in bulk in Hashicorp Terraform Cloud. Removes the specified tags from the target artifacts. If a target does not contain a tag, then HCP Terraform ignores that tag for that target. Required: body data.
hashicorp_terraform_cloud_tag_binding_bulk_actions_set
Set tags in bulk in Hashicorp Terraform Cloud. Replaces all tags on the target artifacts with the specified tags. Required: body data.
list_all_hashicorp_terraform_cloud_registry_module_tag_bindings
List All Tags for a Registry Module in Hashicorp Terraform Cloud. Lists all tags assigned to a registry module. Required: module_id.
list_all_hashicorp_terraform_cloud_registry_module_versions
Versions List for a Registry Module in Hashicorp Terraform Cloud. The following endpoint returns all published versions for a registry module including tags attached to each version. Required: organization_name, registry_name, namespace, module_name, provider_name.
list_all_registry_module_test_configuration
Retrieve test configuration in Hashicorp Terraform Cloud. Retrieve the current test configuration for a registry module, including whether dynamic credentials are enabled and which provider is configured. Required: registry_name, namespace, name, provider.
update_registry_module_test_configuration_by_id
Configure dynamic credentials in Hashicorp Terraform Cloud. To configure dynamic credentials, send a PATCH request to the resource at the following path: Required: registry_name, namespace, name, provider.
list_all_registry_module_version_tag_bindings
List all tags in Hashicorp Terraform Cloud. Call the following endpoint to list all tags assigned to a module version. Required: module_version_id.
list_all_registry_provider_tag_bindings
List All Tags for a Registry Provider in Hashicorp Terraform Cloud. Lists all tags assigned to a registry provider. Required: provider_id.
list_all_registry_provider_version_tag_bindings
List all tags for a provider version in Hashicorp Terraform Cloud. Use this endpoint to list all tags assigned to a provider version. Required: provider_version_id.
update_registry_provider_version_by_id
Add or update tags for a provider version in Hashicorp Terraform Cloud. Send a PATCH request to the following endpoint to add or update tags for a provider version in your organization's registry. To remove tags from a provider version, omit the tag keys and values from the request body when sending the PATCH request. Required: id, organization_name, registry_name, namespace, provider_name, body data.
list_all_hashicorp_terraform_cloud_registry_components
List Stack component configurations for an organization in Hashicorp Terraform Cloud. Required: organization_name.
create_a_hashicorp_terraform_cloud_registry_component
Create a Stack component configuration in Hashicorp Terraform Cloud. You can use this endpoint to publish a component configuration using the API-only workflow or VCS-backed workflow . Required: organization_name, body data.
get_single_hashicorp_terraform_cloud_registry_component_by_id
Get a Stack component configuration in Hashicorp Terraform Cloud. Required: id.
delete_a_hashicorp_terraform_cloud_registry_component_by_id
Delete a Stack component configuration in Hashicorp Terraform Cloud. You can delete a specific version of a component configuration, or the entire component configuration. This endpoint deletes the entire component configuration from your private registry. Required: id.
update_a_hashicorp_terraform_cloud_registry_component_by_id
Add or update tags to a Stack component configuration in Hashicorp Terraform Cloud. Send a PATCH request to the following endpoint to add or update tags for a Stack component configuration in your organization's registry. To remove tags from a Stack component configuration, omit the tag key and values from the request body when sending the PATCH request. Required: id, body data.
create_a_hashicorp_terraform_cloud_registry_component_version
Create a component configuration version in Hashicorp Terraform Cloud. Creates a new version for component configurations that do not source from a VCS repository. VCS-backed component configurations automatically create new versions for new tags. After creating a version for an API-published component configuration , you can upload subsequent configurations to the link that HCP Terraform returns. Required: component_id, body data.
delete_registry_component_version_by_id
Delete a component configuration version in Hashicorp Terraform Cloud. You can delete a specific version of a component configuration, or the entire component configuration. This endpoint deletes a specific version of a component configuration from your private registry. Required: id, component_id.
list_all_hashicorp_terraform_cloud_registry_component_versions
Versions List for a Stack Component Configuration in Hashicorp Terraform Cloud. The following endpoint returns all published versions for a Stack component configuration in the registry including the tags attached to each version. Required: component_id.
update_registry_component_version_by_id
Add or update tags in Hashicorp Terraform Cloud. Send a PATCH request to the following endpoint to add, update, or remove tags for a registry component version in your organization's registry. The request replaces the existing tags with tag keys and values specified in the request body. To remove specific tags, specify only the tag keys and values you want to keep. A request body with empty key and value attributes removes all tags. Required: id, component_id, body data.
list_all_registry_component_tag_bindings
List all tags for a Stack component configuration in Hashicorp Terraform Cloud. Lists all tags assigned to a Stack component configuration. Required: component_id.
list_all_registry_component_version_tag_bindings
List tags in Hashicorp Terraform Cloud. Call the following endpoint to list all tags assigned to a registry component version. Required: component_version_id.
create_a_hashicorp_terraform_cloud_provider_set
Create a provider set in Hashicorp Terraform Cloud. This endpoint creates a new provider set in the specified organization. Required: organization_name, body data.
list_all_hashicorp_terraform_cloud_provider_sets
List provider sets in Hashicorp Terraform Cloud. List all provider sets for an organization. Required: organization_name.
get_single_hashicorp_terraform_cloud_provider_set_by_id
Show a provider set in Hashicorp Terraform Cloud. This endpoint returns details of the specified provider set. Required: id.
update_a_hashicorp_terraform_cloud_provider_set_by_id
Update a provider set in Hashicorp Terraform Cloud. This endpoint updates the specified provider set configuration. Required: id, body data.
delete_a_hashicorp_terraform_cloud_provider_set_by_id
Delete a provider set in Hashicorp Terraform Cloud. This endpoint deletes the specified provider set. Required: id.
create_a_hashicorp_terraform_cloud_query
Create a query run in Hashicorp Terraform Cloud. This endpoint creates a new query run. Required: body data.
get_single_hashicorp_terraform_cloud_query_by_id
Show a query run in Hashicorp Terraform Cloud. This endpoint shows details for a specific query run. Required: id.
hashicorp_terraform_cloud_queries_cancel
Cancel a query run in Hashicorp Terraform Cloud. This endpoint cancels a query run that is currently pending or running. Required: query_id.
list_all_hashicorp_terraform_cloud_workspace_queries
List query runs for a workspace in Hashicorp Terraform Cloud. This endpoint lists query runs for a particular workspace. Required: workspace_id.
list_all_hashicorp_terraform_cloud_run_task_stages
List the Task Stages in a Run in Hashicorp Terraform Cloud. Required: run_id.
get_single_hashicorp_terraform_cloud_task_stage_by_id
Show a Task Stage in Hashicorp Terraform Cloud. This endpoint shows details of a specific task stage. Required: id.
hashicorp_terraform_cloud_task_stages_override
Override a Task Stage in Hashicorp Terraform Cloud. Required: task_stage_id.
get_single_hashicorp_terraform_cloud_task_result_by_id
Show a Task Result in Hashicorp Terraform Cloud. This endpoint shows the details for a specific task result. Required: id.
create_a_hashicorp_terraform_cloud_task
Create a task in Hashicorp Terraform Cloud. Required: organization_name, body data.
list_all_hashicorp_terraform_cloud_tasks
List tasks in Hashicorp Terraform Cloud. Required: organization_name.
get_single_hashicorp_terraform_cloud_task_by_id
Show a task in Hashicorp Terraform Cloud. Required: id.
update_a_hashicorp_terraform_cloud_task_by_id
Update a task in Hashicorp Terraform Cloud. Required: id, body data.
delete_a_hashicorp_terraform_cloud_task_by_id
Delete a task in Hashicorp Terraform Cloud. Required: id.
create_a_hashicorp_terraform_cloud_workspace_task
Associate a Task to a Workspace in Hashicorp Terraform Cloud. This endpoint associates an existing task to a specific workspace. This involves setting the task enforcement level, which determines whether the task blocks runs from completing. Required: workspace_id, body data.
list_all_hashicorp_terraform_cloud_workspace_tasks
List workspace tasks in Hashicorp Terraform Cloud. Required: workspace_id.
get_single_hashicorp_terraform_cloud_workspace_task_by_id
Show workspace task in Hashicorp Terraform Cloud. Required: id, workspace_id.
update_a_hashicorp_terraform_cloud_workspace_task_by_id
Update workspace task in Hashicorp Terraform Cloud. Required: id, workspace_id.
delete_a_hashicorp_terraform_cloud_workspace_task_by_id
Delete workspace task in Hashicorp Terraform Cloud. Required: id, workspace_id.
list_all_hashicorp_terraform_cloud_scim_configuration
Show a SCIM configuration in Hashicorp Terraform Cloud. This endpoint returns the SCIM configuration for an organization. Required: organization_name.
create_a_hashicorp_terraform_cloud_scim_configuration
Create a SCIM configuration in Hashicorp Terraform Cloud. This endpoint creates the SCIM configuration for an organization. The organization must have SSO configured in order to create a configuration. Required: organization_name, body data.
hashicorp_terraform_cloud_scim_configuration_enable
Enable SCIM in Hashicorp Terraform Cloud. This endpoint sets enabled to true on the organization's SCIM configuration. Required: organization_name.
hashicorp_terraform_cloud_scim_configuration_disable
Disable SCIM in Hashicorp Terraform Cloud. This endpoint sets enabled to false on the organization's SCIM configuration, which temporarily pauses SCIM provisioning. Requests to the SCIM provisioning endpoints for the organization return an error while SCIM is disabled. Refer to Manage SCIM provisioning for more information. Required: organization_name.
delete_a_hashicorp_terraform_cloud_scim_configuration_by_id
Delete a SCIM configuration in Hashicorp Terraform Cloud. This endpoint deletes the SCIM configuration for an organization. You must disable SCIM before you delete the configuration. Deleting the configuration also deletes the organization's SCIM tokens and the SCIM records for provisioned users and teams. HCP Terraform does not delete the users and teams themselves. Required: organization_name.
create_a_hashicorp_terraform_cloud_stack
Create a Stack in Hashicorp Terraform Cloud. This endpoint creates a Stack for an organization. The ability to create Stacks is restricted to users with Maintain project permissions, teams with the Manage all projects permission , and the organization API token . Required: body data.
list_all_hashicorp_terraform_cloud_stacks
List Stacks in Hashicorp Terraform Cloud. This endpoint lists Stacks in the organization. Note Required: organization_name.
get_single_hashicorp_terraform_cloud_stack_by_id
Show a Stack in Hashicorp Terraform Cloud. This endpoint returns details of the specified Stack. Note Required: id.
update_a_hashicorp_terraform_cloud_stack_by_id
Update a Stack in Hashicorp Terraform Cloud. This endpoint updates the specified Stack. Required: id, body data.
delete_a_hashicorp_terraform_cloud_stack_by_id
Delete a Stack in Hashicorp Terraform Cloud. This endpoint deletes the specified Stack. Required: id.
list_all_hashicorp_terraform_cloud_stack_configuration_summaries
List Stack configuration summaries in Hashicorp Terraform Cloud. This endpoint lists configuration summaries for the specified Stack. Each configuration summary is associated with a single Stack configuration. The summary includes counts of how many of its deployment groups and deployment runs are in each available status. There is no endpoint for showing a single configuration summary by its ID. Instead, sideload the configuration's associated summary by including the stack_configuration_summary query… Required: stack_id.
create_a_hashicorp_terraform_cloud_stack_configuration
Create a Stack configuration in Hashicorp Terraform Cloud. This endpoint creates a new Stack configuration for the specified Stack. It can create several kinds of configurations, controlled by the source query parameter: Required: stack_id.
list_all_hashicorp_terraform_cloud_stack_configurations
List Stack configurations in Hashicorp Terraform Cloud. This endpoint lists configurations for the specified Stack. Required: stack_id.
get_single_hashicorp_terraform_cloud_stack_configuration_by_id
Show Stack configuration in Hashicorp Terraform Cloud. This endpoint returns details of the specified Stack configuration. Required: id.
stack_configurations_fetch_latest_from_vcs
Fetch a Stack configuration in Hashicorp Terraform Cloud. This endpoint creates a Stack configuration for a VCS-backed Stack by pulling it from the head of the Stack's branch. Required: stack_id.
list_all_stack_deployment_group_summaries
List Deployment Group Summaries in Hashicorp Terraform Cloud. This endpoint lists deployment group summaries for the specified Stack configuration. Each deployment group summary is associated with a single deployment group. The summary includes counts of how many of its deployment runs are in each available status. There is no endpoint for showing a single deployment group summary by its ID. Instead, sideload the group's associated summary by including the stack_deployment_group_summary query parameter… Required: stack_configuration_id.
list_all_stack_configuration_upload_url
Fetch Stack configuration upload URL in Hashicorp Terraform Cloud. This endpoint fetches the upload URL for a manually created Stack configuration. After creating a Stack configuration , use this endpoint to retrieve a temporary upload URL. Then, upload an archive of your configuration files to that URL. Refer to Upload a Stack configuration archive for instructions on uploading the archive. Required: stack_configuration_id.
list_all_stack_configuration_source_bundle
Fetch Stack configuration source bundle in Hashicorp Terraform Cloud. This endpoint redirects to the download URL for a Stack configuration source bundle. Required: stack_configuration_id.
list_all_hashicorp_terraform_cloud_stack_deployments
List Stack deployments in Hashicorp Terraform Cloud. This endpoint lists all the deployments under the specified Stack. Required: stack_id.
list_all_hashicorp_terraform_cloud_stack_deployment_groups
List Stack deployment groups in Hashicorp Terraform Cloud. This endpoint lists all the deployment groups for the specified Stack configuration. Required: stack_configuration_id.
hashicorp_terraform_cloud_stack_deployment_groups_get_by_name
Show a Stack deployment group by name in Hashicorp Terraform Cloud. This endpoint gets details about a Stack deployment group by name. Required: id, stack_configuration_id.
hashicorp_terraform_cloud_stack_deployment_groups_get_by_id
Show a Stack deployment group by ID in Hashicorp Terraform Cloud. This endpoint gets details about a Stack deployment group by ID. Required: stack_deployment_group_id.
stack_deployment_groups_approve_all_plans
Approve a Stack deployment group in Hashicorp Terraform Cloud. This endpoint creates a global approval for all runs in a Stack deployment group. Required: stack_deployment_group_id.
hashicorp_terraform_cloud_stack_deployment_groups_rerun
Rerun a Stack deployment group in Hashicorp Terraform Cloud. This endpoint reruns a Stack deployment group that has ended up in a failed state. Required: stack_deployment_group_id.
hashicorp_terraform_cloud_stack_deployment_groups_start
Start a Stack deployment group in Hashicorp Terraform Cloud. This endpoint starts planning all runs in a Stack deployment group that has eager plan disabled. Required: stack_deployment_group_id.
hashicorp_terraform_cloud_stack_deployment_groups_cancel
Cancel a Stack deployment group in Hashicorp Terraform Cloud. This endpoint cancels a Stack deployment group. Required: stack_deployment_group_id.
list_all_hashicorp_terraform_cloud_stack_deployment_runs
List Stack deployment runs in a configuration in Hashicorp Terraform Cloud. This endpoint lists Stack deployment runs for a Stack configuration. Required: stack_configuration_id.
get_single_hashicorp_terraform_cloud_stack_deployment_run_by_id
Show a Stack deployment run in Hashicorp Terraform Cloud. This endpoint gets details about a Stack deployment run. Required: id.
hashicorp_terraform_cloud_stack_deployment_runs_list_in_group
List Stack deployment runs in a group in Hashicorp Terraform Cloud. This endpoint lists Stack deployment runs for a Stack deployment group. Required: stack_deployment_group_id.
stack_deployment_runs_approve_all_plans
Approve a Stack deployment run in Hashicorp Terraform Cloud. This endpoint approves all current and future plans associated with a Stack deployment run. Required: stack_deployment_run_id.
hashicorp_terraform_cloud_stack_deployment_runs_cancel
Cancel a Stack deployment run in Hashicorp Terraform Cloud. This endpoint cancels a Stack deployment run. Required: stack_deployment_run_id.
list_all_hashicorp_terraform_cloud_stack_deployment_steps
List Stack deployment steps in Hashicorp Terraform Cloud. This endpoint lists Stack deployment steps for a Stack deployment run. Required: stack_deployment_run_id.
get_single_hashicorp_terraform_cloud_stack_deployment_step_by_id
Show a Stack deployment step in Hashicorp Terraform Cloud. This endpoint gets details about a Stack deployment step. Required: id.
hashicorp_terraform_cloud_stack_deployment_steps_advance
Advance a Stack deployment step in Hashicorp Terraform Cloud. This endpoint advances a Stack deployment step. Required: stack_deployment_step_id.
list_all_stack_deployment_step_artifacts
Show a Stack deployment step artifact in Hashicorp Terraform Cloud. This endpoint returns an archivist URL for the requested artifact of a specified deployment step. Required: stack_deployment_step_id, name.
get_single_hashicorp_terraform_cloud_stack_approval_by_id
Show a Stack approval in Hashicorp Terraform Cloud. This endpoint gets details about a Stack approval. Required: id.
get_stack_policy_evaluation_by_id
Show a Stack policy evaluation in Hashicorp Terraform Cloud. Required: id.
list_all_hashicorp_terraform_cloud_stack_policy_set_outcomes
List Stack policy set outcomes in Hashicorp Terraform Cloud. This endpoint lists all policy set outcomes associated with the given Stack policy evaluation. Each outcome corresponds to a single policy set that was evaluated. Required: stack_policy_evaluation_id.
list_all_hashicorp_terraform_cloud_stack_states
List Stack states in Hashicorp Terraform Cloud. This endpoint lists states for a Stack. Required: stack_id.
get_single_hashicorp_terraform_cloud_stack_state_by_id
Show a Stack state in Hashicorp Terraform Cloud. This endpoint lists details about a Stack state. Required: id.
list_all_hashicorp_terraform_cloud_stack_state_description
Show a Stack state description in Hashicorp Terraform Cloud. This endpoint redirects to a download URL for a Stack state description. Required: stack_state_id.
create_a_hashicorp_terraform_cloud_task_config
Create a task config in Hashicorp Terraform Cloud. Required: organization_name, body data.
update_a_hashicorp_terraform_cloud_task_config_by_id
Update a task config in Hashicorp Terraform Cloud. Required: id, body data.
list_all_hashicorp_terraform_cloud_task_configs
List task configs in Hashicorp Terraform Cloud. Required: organization_name.
list_all_hashicorp_terraform_cloud_team_authentication_token
Show a team token in Hashicorp Terraform Cloud. Use this endpoint to display a team token for a particular team. You can also fetch a team token directly by using the token's ID with the authentication-tokens/ endpoint. Required: team_id.
create_a_hashicorp_terraform_cloud_team_authentication_token
Generate a new team token for a team in Hashicorp Terraform Cloud (legacy single-token API), replacing the existing token if one exists. Requires team_id. Returns the token id and attributes including the secret token, which is only shown once.
hashicorp_terraform_cloud_team_authentication_token_revoke
Delete the team token of a team in Hashicorp Terraform Cloud (legacy single-token API). Requires team_id. Returns an empty body (204) on success.
list_all_hashicorp_terraform_cloud_workspace_terraform_actions
List Actions in a Workspace in Hashicorp Terraform Cloud. Required: workspace_id.
list_all_terraform_action_filter_options
Get Action Filter Options in Hashicorp Terraform Cloud. This endpoint returns the dynamic filter values available for a workspace's Terraform actions list. Required: workspace_id.
get_single_hashicorp_terraform_cloud_terraform_action_by_id
Show an Action in Hashicorp Terraform Cloud. Required: id.
list_all_hashicorp_terraform_cloud_invocation_run_summary
List Action Invocations Aggregated by Run in Hashicorp Terraform Cloud. This endpoint lists invocations for an action grouped and aggregated by run. Required: action_id.
list_all_hashicorp_terraform_cloud_invocation_filter_options
Get Action Invocation Filter Options in Hashicorp Terraform Cloud. This endpoint returns dynamic filter values available for an action's invocations list. The response can include system:not_a_user in invoked-by , which represents invocations without a human actor. Required: action_id.
list_all_hashicorp_terraform_cloud_run_invocations
List Action Invocations for a Run in Hashicorp Terraform Cloud. This endpoint lists individual invocations for a specific action and run ordered by execution order. Required: action_id, run_id.
list_all_invocation_lifecycle_resource_groups
List Lifecycle Action Invocation Resource Groups in Hashicorp Terraform Cloud. This endpoint lists lifecycle action invocations for a specific action and run. The response is grouped by triggering resource address. The endpoint paginates by resource group, not by individual invocation. Required: action_id, run_id.
list_all_hashicorp_terraform_cloud_run_tf_policy_evaluations
List Terraform policy evaluations for a run in Hashicorp Terraform Cloud. This endpoint lists the Terraform policy evaluations associated with a run. The endpoint returns the following responses. Required: run_id.
get_single_hashicorp_terraform_cloud_tf_policy_evaluation_by_id
Show a Terraform policy evaluation in Hashicorp Terraform Cloud. This endpoint returns details about a specific evaluation. The endpoint returns the following responses. Required: id.
hashicorp_terraform_cloud_tf_policy_evaluations_override
Override a Terraform policy evaluation in Hashicorp Terraform Cloud. This endpoint overrides an eligible evaluation so the run can continue. The following conditions apply: Only plan-stage evaluations for runs that are not plan-only support overrides. When the associated run is paused in tf_policy_override , overriding the evaluation allows the run to continue. Required: tf_policy_evaluation_id.
list_all_hashicorp_terraform_cloud_tf_policy_set_outcomes
List Terraform policy set outcomes in Hashicorp Terraform Cloud. This endpoint lists policy set outcomes for an evaluation. The endpoint returns the following responses. Required: tf_policy_evaluation_id.
get_single_hashicorp_terraform_cloud_tf_policy_set_outcome_by_id
Show a Terraform policy set outcome in Hashicorp Terraform Cloud. This endpoint returns a specific policy set outcome. The endpoint returns the following responses. Required: id.
list_all_hashicorp_terraform_cloud_project_varsets
List Variable Sets in Hashicorp Terraform Cloud. List all variable sets for an organization. GET organizations/:organization_name/varsets List all variable sets for a project. This includes global variable sets from the project's organization. Required: project_id.
list_all_hashicorp_terraform_cloud_workspace_varsets
List Variable Sets in Hashicorp Terraform Cloud. List all variable sets for an organization. GET organizations/:organization_name/varsets List all variable sets for a project. This includes global variable sets from the project's organization. Required: workspace_id.
hashicorp_terraform_cloud_varset_stacks_apply
Apply Variable Set to Stacks in Hashicorp Terraform Cloud. Accepts a list of Stacks to assign this variable set to. POST varsets/:varset_id/relationships/stacks Properties without a default value are required. Required: varset_id.
hashicorp_terraform_cloud_varset_stacks_remove
Remove a Variable Set from Stacks in Hashicorp Terraform Cloud. Accepts a list of Stacks to remove the variable set from. DELETE varsets/:varset_id/relationships/stacks Properties without a default value are required. Required: varset_id.
list_all_workspace_effective_tag_bindings
List workspace tag bindings in Hashicorp Terraform Cloud. Call the following endpoints to list the tags attached to a workspace: Required: workspace_id.
list_all_hashicorp_terraform_cloud_organization_tag_bindings
List tag bindings in Hashicorp Terraform Cloud. The following endpoint retrieves all tag bindings within an organization. The response includes its attributes, including values for their key and value attributes. Required: organization_name.
list_all_hashicorp_terraform_cloud_run_json_execution_plans
Retrieve the JSON execution plan in Hashicorp Terraform Cloud. These endpoints generate a temporary authenticated URL to the location of the JSON formatted execution plan . When successful, this endpoint responds with a temporary redirect that should be followed. If using a client that can follow redirects, you can use this endpoint to save the .json file locally without needing to save the temporary URL. Required: run_id.
list_all_hashicorp_terraform_cloud_sanitized_plans
Retrieve the sanitized plan in Hashicorp Terraform Cloud. HCP Terraform workspaces that have enabled hold your own key (HYOK) encryption create sanitized plans that omit sensitive encrypted data. You can download the sanitized version of the plan file with your sensitive information redacted. Learn more about hold your own key . Required: plan_id.
list_all_hashicorp_terraform_cloud_run_sanitized_plans
Retrieve the sanitized plan in Hashicorp Terraform Cloud. HCP Terraform workspaces that have enabled hold your own key (HYOK) encryption create sanitized plans that omit sensitive encrypted data. You can download the sanitized version of the plan file with your sensitive information redacted. Learn more about hold your own key . Required: run_id.
list_all_hashicorp_terraform_cloud_scim_groups
List SCIM groups in Hashicorp Terraform Cloud. This endpoint returns SCIM groups provisioned into the organization. Authenticate with a SCIM token (the connected API key must be the organization SCIM token). Required: scim_configuration_id.
get_single_hashicorp_terraform_cloud_scim_group_by_id
Show a SCIM group in Hashicorp Terraform Cloud. This endpoint returns a single SCIM group resource. Authenticate with a SCIM token (the connected API key must be the organization SCIM token). Required: id, scim_configuration_id.
create_a_hashicorp_terraform_cloud_scim_group
Create a SCIM group in Hashicorp Terraform Cloud. This endpoint provisions a new SCIM group and automatically creates and links a team with the same name in the organization. You can optionally include initial members. Group member references must use existing HCP Terraform SCIM user IDs. Authenticate with a SCIM token (the connected API key must be the organization SCIM token). Required: scim_configuration_id, body schemas, body displayName.
hashicorp_terraform_cloud_scim_groups_replace
Replace a SCIM group in Hashicorp Terraform Cloud. This endpoint replaces the group's attributes and membership. HCP Terraform treats members as the complete roster for the group. Setting members to an empty array clears the group's membership. If the request omits members , displayName , or externalId , HCP Terraform leaves the existing value unchanged. Authenticate with a SCIM token (the connected API key must be the organization SCIM token). Required: scim_configuration_id, group_id.
update_a_hashicorp_terraform_cloud_scim_group_by_id
Patch a SCIM group in Hashicorp Terraform Cloud. This endpoint partially updates a SCIM group with a SCIM PatchOp request body. HCP Terraform supports both full-member replacement and incremental add or remove operations. Authenticate with a SCIM token (the connected API key must be the organization SCIM token). Required: id, scim_configuration_id.
delete_a_hashicorp_terraform_cloud_scim_group_by_id
Delete a SCIM group in Hashicorp Terraform Cloud. This endpoint deletes a SCIM group and the linked team in the organization. HCP Terraform returns an HTTP 404 if the group you're trying to delete does not exist. Refer to Groups lifecycle for more information. Authenticate with a SCIM token (the connected API key must be the organization SCIM token). Required: id, scim_configuration_id.
list_all_hashicorp_terraform_cloud_scim_users
List SCIM users in Hashicorp Terraform Cloud. The following endpoint returns SCIM-managed users in the organization. Without a filter, HCP Terraform returns a paginated SCIM list response. Authenticate with a SCIM token (the connected API key must be the organization SCIM token). Required: scim_configuration_id.
get_single_hashicorp_terraform_cloud_scim_user_by_id
Show a SCIM user in Hashicorp Terraform Cloud. The following endpoint returns a single SCIM user resource in the organization. Authenticate with a SCIM token (the connected API key must be the organization SCIM token). Required: id, scim_configuration_id.
create_a_hashicorp_terraform_cloud_scim_user
Create a SCIM user in Hashicorp Terraform Cloud. The following endpoint provisions a new SCIM user. If the organization already has a member with the same email address, HCP Terraform links that existing user to the new SCIM identity instead of creating a duplicate user record. Authenticate with a SCIM token (the connected API key must be the organization SCIM token). Required: scim_configuration_id, body schemas, body userName, body externalId, body displayName, body emails, body name.
hashicorp_terraform_cloud_scim_users_replace
Replace a SCIM user in Hashicorp Terraform Cloud. The following endpoint replaces the SCIM-managed attributes for an existing user. Include the full SCIM User resource body. HCP Terraform requires email data on replace requests. If the PUT request targets a user who is not scoped to the current organization, such as a user who was provisioned by a different organization's SCIM configuration HCP Terraform rejects the request with an error rather than allowing a cross-organization mutation. Authenticate with a SCIM token (the connected API key must be the organization SCIM token). Required: scim_configuration_id, user_id, body schemas, body userName, body externalId, body displayName, body emails, body active, body name.
update_a_hashicorp_terraform_cloud_scim_user_by_id
Patch a SCIM user in Hashicorp Terraform Cloud. The following endpoint partially updates a SCIM user with a SCIM PatchOp request body. If the PATCH request targets a user who is not scoped to the current organization, such as a user who was provisioned by a different organization's SCIM configuration HCP Terraform rejects the request with an error rather than allowing a cross-organization mutation. Authenticate with a SCIM token (the connected API key must be the organization SCIM token). Required: id, scim_configuration_id.
delete_a_hashicorp_terraform_cloud_scim_user_by_id
Delete a SCIM user in Hashicorp Terraform Cloud. The following endpoint deprovisions a SCIM user. HCP Terraform removes the user's organization membership and SCIM identity. The underlying user account is preserved, as it may belong to other organizations. Refer to SCIM user lifecycle for more information. Authenticate with a SCIM token (the connected API key must be the organization SCIM token). Required: id, scim_configuration_id.
list_all_hashicorp_terraform_cloud_scim_tokens
List SCIM tokens in Hashicorp Terraform Cloud. This endpoint lists the SCIM tokens for an organization's SCIM configuration. Required: scim_configuration_id.
create_a_hashicorp_terraform_cloud_scim_token
Create a SCIM token in Hashicorp Terraform Cloud. This endpoint creates a SCIM token for an organization's SCIM configuration. This endpoint returns the secret text of the new token. You can only access the secret text when you create the token and cannot recover it later. Required: scim_configuration_id, body data.
list_all_stack_configuration_diagnostics
List Stack configuration diagnostics in Hashicorp Terraform Cloud. This endpoint lists the diagnostics related to the preparation process for the specified Stack configuration. Required: stack_configuration_id.
list_all_stack_deployment_step_diagnostics
List Stack deployment step diagnostics in Hashicorp Terraform Cloud. This endpoint lists Stack deployment step diagnostics for a Stack deployment step. Required: stack_deployment_step_id.
list_all_project_effective_tag_bindings
List the effective tag bindings of a project in Hashicorp Terraform Cloud: the tags bound directly to the project. Requires project_id. Returns tag binding key and value for each binding.
Why Truto
Why use Truto’s MCP server for Hashicorp Terraform Cloud
Other MCP servers give you a static tool list for one app. Truto gives you a managed, multi-tenant MCP infrastructure across 1150+ integrations.
Auto-generated, always up to date
Tools are dynamically generated from curated documentation — not hand-coded. As integrations evolve, tools stay current without manual maintenance.
Fine-grained access control
Scope each MCP server to read-only, write-only, specific methods, or tagged tool groups. Expose only what your AI agent needs — nothing more.
Multi-tenant by design
Each MCP server is scoped to a single connected account with its own credentials. The URL itself is the auth token — no shared secrets, no credential leaking across tenants.
Works with every MCP client
Standard JSON-RPC 2.0 protocol. Paste the URL into Claude, ChatGPT, Cursor, or any MCP-compatible agent framework — tools are discovered automatically.
Built-in auth, rate limits, and error handling
Tool calls execute through Truto’s proxy layer with automatic OAuth refresh, rate-limit handling, and normalized error responses. No raw API plumbing in your agent.
Expiring and auditable servers
Create time-limited MCP servers for contractors or automated workflows. Optional dual-auth requires both the URL and a Truto API token for high-security environments.
For your product
Ship Hashicorp Terraform Cloud tools in your product
Give the AI in your product access to each customer’s own Hashicorp Terraform Cloud account, with one MCP server per connected account.
Rather talk it through? Book a demo
For your own team
Use Hashicorp Terraform Cloud in ChatGPT or Claude yourself
Connect your company’s Hashicorp Terraform Cloud once, then ask in the AI you already use, with exactly your own access.
From the team behind Truto · 14-day free trial
Unified APIs
Unified APIs for Hashicorp Terraform Cloud
Skip writing code for every integration. Use Truto’s category-specific Unified APIs out of the box or customize the mappings with AI.
Unified User Directory API
Groups
Groups are a collection of users in the source application. In some applications, they might also be called Teams.
Organizations
Organizations are the top level entity in the source application. Users are associated with an organization.
Users
The User object represents a User.
Workspaces
Workspaces represent concepts like teams, workspaces, projects in apps that support them
How It Works
From zero to integrated
Start with Hashicorp Terraform Cloud in a free sandbox, usually ready within one business day. No boilerplate, no maintenance burden.
Link your customer’s Hashicorp Terraform Cloud account
Use Truto’s frontend SDK to connect your customer’s Hashicorp Terraform Cloud account. We handle all OAuth and API key flows — you don’t need to create the OAuth app.
We handle authentication
Don’t spend time refreshing access tokens or figuring out secure storage. We handle it and inject credentials into every API request.
Call our API, we call Hashicorp Terraform Cloud
Truto’s Proxy API is a 1-to-1 mapping of the Hashicorp Terraform Cloud API. You call us, we call Hashicorp Terraform Cloud, and pass the response back in the same cycle.
Unified response format
Every response follows a single format across all integrations. We translate Hashicorp Terraform Cloud’s pagination into unified cursor-based pagination. Data is always in the result attribute.
FAQs
Common questions about Hashicorp Terraform Cloud on Truto
Authentication, rate limits, data freshness, and everything else you need to know before you integrate.
What authentication methods does the Terraform Cloud integration support?
Terraform Cloud uses API tokens for authentication — user tokens, team tokens, and organization tokens. Truto handles token management so your end users can securely connect their Terraform Cloud accounts without you building custom auth flows.
Can I manage workspaces across multiple Terraform Cloud organizations?
Yes. The integration supports listing, creating, updating, and deleting organizations, as well as full workspace CRUD within each organization. You can also move workspaces between projects using the move workspace into project endpoint.
What Unified APIs are available for Terraform Cloud?
Truto provides a Unified User Directory API that maps Terraform Cloud concepts — organizations, teams, users, and workspaces — to standardized Groups, Organizations, Users, and Workspaces resources, making it easy to sync access across multiple integrations.
Can I control the full run lifecycle through the integration?
Yes. You can create runs, monitor their status, and then apply, discard, cancel, or force-cancel them. You can also force-execute pending runs and add comments to runs for audit or communication purposes.
How do I handle pagination when listing resources like workspaces or runs?
Truto automatically handles Terraform Cloud's pagination for list endpoints — including workspaces, runs, variables, teams, and state versions — so you receive complete result sets without managing page tokens or offsets yourself.
Can I read Terraform state and plan outputs through this integration?
Yes. You can fetch the current state version for a workspace, list state version outputs, retrieve JSON execution plans, and access assessment result JSON output — giving you full visibility into what Terraform has deployed or is about to deploy.
Hashicorp Terraform Cloud
Get Hashicorp Terraform Cloud integrated into your app
Our team understands what it takes to make a Hashicorp Terraform Cloud integration successful. A short, crisp 30 minute call with folks who understand the problem.