Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tfe_workspace_run_task - Add Support for post_apply Run Task Stage #1305

Open
zisom-hc opened this issue Apr 4, 2024 · 0 comments
Open

tfe_workspace_run_task - Add Support for post_apply Run Task Stage #1305

zisom-hc opened this issue Apr 4, 2024 · 0 comments

Comments

@zisom-hc
Copy link

zisom-hc commented Apr 4, 2024

Use-cases

Please add the ability to configure Run Tasks with the recently introduced stage post_apply. The ability to configure this stage in TFE was released in v202402-1 and we are looking to immediately take advantage of it to deploy multiple post-apply actions within our environment.

Attempted Solutions

Only way to configure a run task with this stage at the moment is manually through the UI, which goes against our policy of managing all TFE objects through the provider.

Proposal

Add a post_apply option to the stage argument within the tfe_workspace_run_task resource

Per the API docs the post_apply stage is currently configurable through it when looking at the options available for data.attributes.stage

I also see that the go-tfe SDK currently supports the post_apply option, so from what i can tell the option just needs to be included as a viable option within the tfe provider, but please do correct me if that may not be the case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant