Skip to content

Adding Post Apply Status Constants in Run#2046

Draft
jose-kunnel wants to merge 1 commit intomainfrom
IPL-9456
Draft

Adding Post Apply Status Constants in Run#2046
jose-kunnel wants to merge 1 commit intomainfrom
IPL-9456

Conversation

@jose-kunnel
Copy link
Copy Markdown

Description

This PR adds support for new run status values introduced in the TFE API.

Currently, the provider does not recognize the following run statuses:

post_apply_running
post_apply_completed

These statuses are not included in the applyPendingStatuses list within resource_tfe_workspace_run.go, which causes runs with post-apply run tasks to fail. When such a run enters the post_apply_running state, it is treated as an invalid status and results in an error.

Remember to:

Testing plan

Before this change

Creating a run with a post-apply run task would fail when transitioning to post_apply_running, as the provider does not recognize this state.

After this change

Runs with post-apply run tasks are handled correctly, and transitions through post_apply_running and post_apply_completed no longer cause errors.

External links

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