Skip to content

Conversation

@aayushsingh2502
Copy link
Collaborator

https://developer.hashicorp.com/terraform/cloud-docs/api-docs/variables

  1. list(workspace_id, options=None) - Lists all variables associated with a workspace (excludes variables inherited from variable sets)

  2. list_all(workspace_id, options=None) - Lists all variables associated with a workspace including variables inherited from variable sets

  3. create(workspace_id, options) - Creates a new variable in the specified workspace with the provided options

  4. read(workspace_id, variable_id) - Retrieves a specific variable by its ID from the workspace

  5. update(workspace_id, variable_id, options) - Updates an existing variable's attributes using the provided options

  6. delete(workspace_id, variable_id) - Deletes a variable by its ID from the workspace

@aayushsingh2502 aayushsingh2502 requested a review from a team as a code owner September 12, 2025 12:36
@iam404
Copy link
Member

iam404 commented Sep 15, 2025

LGTM

iam404
iam404 previously approved these changes Sep 15, 2025
@iam404 iam404 self-requested a review September 17, 2025 15:00
@isivaselvan isivaselvan merged commit 162ec84 into main Sep 18, 2025
11 checks passed
@iam404 iam404 deleted the feature/aayush-workspacevariables branch October 28, 2025 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants