-
Notifications
You must be signed in to change notification settings - Fork 77
refactor(coder/agentapi): support terraform-provider-coder v2.12.0 #485
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59775d0 to
797624f
Compare
This was referenced Oct 20, 2025
This was referenced Oct 20, 2025
797624f to
644d080
Compare
9 tasks
644d080 to
4c9fab8
Compare
In https://github.com/coder/terraform-provider-coder v2.12.0-pre0 we have removed the requirement for the "AI Prompt" parameter, and are intending on slightly re-designing the API of the AI task modules. Instead of `agentapi` defining the `coder_ai_task` resource, it will output the `task_app_id`. Consumers of the module will then be expected to create the `coder_ai_task` resource themselves with this `task_app_id`.
4c9fab8 to
88773fe
Compare
mafredri
approved these changes
Oct 24, 2025
johnstcn
approved these changes
Oct 24, 2025
mtojek
approved these changes
Oct 24, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stamp 👍
matifali
approved these changes
Oct 24, 2025
johnstcn
added a commit
that referenced
this pull request
Nov 3, 2025
…488) ## Description Updates the module to use the new version of the agentapi module for the upcoming Coder 2.28 release ## Type of Change - [ ] New module - [ ] New template - [ ] Bug fix - [x] Feature/enhancement - [ ] Documentation - [ ] Other ## Module Information **Path:** `registry/coder/modules/claude-code` **New version:** `v4.0.0` **Breaking change:** [x] Yes [ ] No ## Testing & Validation - [x] Tests pass (`bun test`) - [x] Code formatted (`bun fmt`) - [ ] Changes tested locally ## Related Issues - coder/internal#1065 ## Related PRs - #485 - #497 Co-authored-by: Cian Johnston <cian@coder.com>
johnstcn
added a commit
that referenced
this pull request
Nov 3, 2025
## Description Updates the module to use the new version of the agentapi module for the upcoming Coder 2.28 release ## Type of Change - [ ] New module - [ ] New template - [ ] Bug fix - [x] Feature/enhancement - [ ] Documentation - [ ] Other ## Module Information **Path:** `registry/coder/modules/goose` **New version:** `v1.0.0` **Breaking change:** [x] Yes [ ] No ## Testing & Validation - [x] Tests pass (`bun test`) - [x] Code formatted (`bun fmt`) - [ ] Changes tested locally ## Related Issues - coder/internal#1065 ## Related PRs - #485 Co-authored-by: Cian Johnston <cian@coder.com>
johnstcn
added a commit
that referenced
this pull request
Nov 3, 2025
## Description Updates the module to use the new version of the agentapi module for the upcoming Coder 2.28 release ## Type of Change - [ ] New module - [ ] New template - [ ] Bug fix - [x] Feature/enhancement - [ ] Documentation - [ ] Other ## Module Information <!-- Delete this section if not applicable --> **Path:** `registry/coder/modules/amazon-q` **New version:** `v3.0.0` **Breaking change:** [x] Yes [ ] No ## Testing & Validation - [x] Tests pass (`bun test`) - [x] Code formatted (`bun fmt`) - [ ] Changes tested locally ## Related Issues - coder/internal#1065 ## Related PRs - #485 Co-authored-by: Cian Johnston <cian@coder.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
In https://github.com/coder/terraform-provider-coder v2.12.0 and the up-coming https://github.com/coder/coder v2.28 we have removed the requirement for the "AI Prompt" parameter, and are intending on slightly re-designing the API of the AI task modules.
Instead of
agentapidefining thecoder_ai_taskresource, it will output thetask_app_id. Consumers of the module will then be expected to create thecoder_ai_taskresource themselves with thistask_app_id.Type of Change
Module Information
Path:
registry/coder/modules/agent-apiNew version:
v2.0.0Breaking change: [x] Yes [ ] No
Testing & Validation
bun test)bun fmt)Related Issues
task.promptinternal#1065Related PRs