chore(provisioner): support updated coder_ai_task resource (#20160)

Closes https://github.com/coder/internal/issues/978

- Introduce `CODER_TASK_ID` and `CODER_TASK_PROMPT` to the provisioner
environment
- Make use of new `app_id` field in provider, with a fallback to
`sidebar_app.id` for backwards compatibility

**For now** I've left the `taskPrompt` and `taskID` as a TODO as we do
not yet create these values.
This commit is contained in:
Danielle Maywood
2025-10-09 10:42:01 +01:00
committed by GitHub
parent 8942b50872
commit f31e6e09ba
22 changed files with 482 additions and 1055 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ require (
github.com/coder/quartz v0.2.1
github.com/coder/retry v1.5.1
github.com/coder/serpent v0.10.0
github.com/coder/terraform-provider-coder/v2 v2.11.0
github.com/coder/terraform-provider-coder/v2 v2.12.0-pre0
github.com/coder/websocket v1.8.13
github.com/coder/wgtunnel v0.1.13-0.20240522110300-ade90dfb2da0
github.com/coreos/go-oidc/v3 v3.16.0