You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: registry/coder-labs/templates/tasks-docker/main.tf
+22-22Lines changed: 22 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -44,9 +44,9 @@ variable "anthropic_api_key" {
44
44
sensitive=true
45
45
}
46
46
resource"coder_env""anthropic_api_key" {
47
-
agent_id=coder_agent.main.id
48
-
name="CODER_MCP_CLAUDE_API_KEY"
49
-
value=var.anthropic_api_key
47
+
agent_id=coder_agent.main.id
48
+
name="CODER_MCP_CLAUDE_API_KEY"
49
+
value=var.anthropic_api_key
50
50
}
51
51
52
52
# We are using presets to set the prompts, image, and set up instructions
@@ -174,19 +174,19 @@ data "coder_parameter" "preview_port" {
174
174
175
175
# Other variables for Claude Code
176
176
resource"coder_env""claude_task_prompt" {
177
-
agent_id=coder_agent.main.id
178
-
name="CODER_MCP_CLAUDE_TASK_PROMPT"
179
-
value=data.coder_parameter.ai_prompt.value
177
+
agent_id=coder_agent.main.id
178
+
name="CODER_MCP_CLAUDE_TASK_PROMPT"
179
+
value=data.coder_parameter.ai_prompt.value
180
180
}
181
181
resource"coder_env""app_status_slug" {
182
-
agent_id=coder_agent.main.id
183
-
name="CODER_MCP_APP_STATUS_SLUG"
184
-
value="ccw"
182
+
agent_id=coder_agent.main.id
183
+
name="CODER_MCP_APP_STATUS_SLUG"
184
+
value="ccw"
185
185
}
186
186
resource"coder_env""claude_system_prompt" {
187
-
agent_id=coder_agent.main.id
188
-
name="CODER_MCP_CLAUDE_SYSTEM_PROMPT"
189
-
value=data.coder_parameter.system_prompt.value
187
+
agent_id=coder_agent.main.id
188
+
name="CODER_MCP_CLAUDE_SYSTEM_PROMPT"
189
+
value=data.coder_parameter.system_prompt.value
190
190
}
191
191
192
192
data"coder_provisioner""me" {}
@@ -296,22 +296,22 @@ module "code-server" {
296
296
# This ensures that the latest non-breaking version of the module gets downloaded, you can also pin the module version to prevent breaking changes in production.
0 commit comments