Skip to content

feat: add workspace run task resource and models#164

Merged
isivaselvan merged 1 commit into
next-1.0.0from
feature/workspace-run-task
May 23, 2026
Merged

feat: add workspace run task resource and models#164
isivaselvan merged 1 commit into
next-1.0.0from
feature/workspace-run-task

Conversation

@isivaselvan

@isivaselvan isivaselvan commented May 23, 2026

Copy link
Copy Markdown
Collaborator

Description

Testing plan

External links

Output from tests

Including output from tests may require access to a TFE instance. Ignore this section if you have no environment to test against.

(.venv) sivaselvan@dhcp-9-126-71-53 python-tfe % python examples/workspace_run_task.py --workspace-id ws-m7LuQ3FPv2ug3hEA --run-task-id task-iR9YNUQ2bjdWTnH9
================================================================================
WORKSPACE RUN TASK OPERATIONS
================================================================================

1. create()
Create result: Task has already been taken

2. list()
Found 1 workspace run task(s)
- wstask-2SzBFmwBebpvXScb run_task=task-iR9YNUQ2bjdWTnH9 enforcement=TaskEnforcementLevel.ADVISORY stages=[<Stage.POST_PLAN: 'post_plan'>, <Stage.PRE_PLAN: 'pre_plan'>]
Using existing workspace run task: wstask-2SzBFmwBebpvXScb

3. read()
Read workspace run task: wstask-2SzBFmwBebpvXScb enforcement=TaskEnforcementLevel.ADVISORY stages=[<Stage.POST_PLAN: 'post_plan'>, <Stage.PRE_PLAN: 'pre_plan'>]

4. update()
Updated workspace run task: wstask-2SzBFmwBebpvXScb enforcement=TaskEnforcementLevel.ADVISORY stages=[<Stage.POST_PLAN: 'post_plan'>, <Stage.PRE_PLAN: 'pre_plan'>]

5. delete()
Delete skipped: workspace run task existed before this example. Re-run with --delete-existing to delete it.

Rollback Plan

Changes to Security Controls

PCI review checklist

  • I have documented a clear reason for, and description of, the change I am making.

  • If applicable, I've documented a plan to revert these changes if they require more than reverting the pull request.

  • If applicable, I've documented the impact of any changes to security controls.

    Examples of changes to security controls include using new access control methods, adding or removing logging pipelines, etc.

If you have any questions, please contact your direct supervisor, GRC (#team-grc), or the PCI working group (#proj-pci-reboot). You can also find more information at PCI Compliance.

@isivaselvan isivaselvan requested a review from a team as a code owner May 23, 2026 08:01
@isivaselvan isivaselvan merged commit d0bd550 into next-1.0.0 May 23, 2026
16 of 19 checks passed
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.

1 participant