Skip to content

Commit a88b7c7

Browse files
committed
format
1 parent 6578a31 commit a88b7c7

File tree

1 file changed

+22
-22
lines changed
  • registry/coder-labs/templates/tasks-docker

1 file changed

+22
-22
lines changed

registry/coder-labs/templates/tasks-docker/main.tf

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ variable "anthropic_api_key" {
4444
sensitive = true
4545
}
4646
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
5050
}
5151

5252
# We are using presets to set the prompts, image, and set up instructions
@@ -174,19 +174,19 @@ data "coder_parameter" "preview_port" {
174174

175175
# Other variables for Claude Code
176176
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
180180
}
181181
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"
185185
}
186186
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
190190
}
191191

192192
data "coder_provisioner" "me" {}
@@ -296,22 +296,22 @@ module "code-server" {
296296
# 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.
297297
version = "~> 1.0"
298298

299-
agent_id = coder_agent.main.id
300-
order = 1
299+
agent_id = coder_agent.main.id
300+
order = 1
301301
}
302302

303303
module "windsurf" {
304-
count = data.coder_workspace.me.start_count
305-
source = "registry.coder.com/coder/windsurf/coder"
306-
version = "1.1.0"
307-
agent_id = coder_agent.main.id
304+
count = data.coder_workspace.me.start_count
305+
source = "registry.coder.com/coder/windsurf/coder"
306+
version = "1.1.0"
307+
agent_id = coder_agent.main.id
308308
}
309309

310310
module "cursor" {
311-
count = data.coder_workspace.me.start_count
312-
source = "registry.coder.com/coder/cursor/coder"
313-
version = "1.2.0"
314-
agent_id = coder_agent.main.id
311+
count = data.coder_workspace.me.start_count
312+
source = "registry.coder.com/coder/cursor/coder"
313+
version = "1.2.0"
314+
agent_id = coder_agent.main.id
315315
}
316316

317317
module "jetbrains" {

0 commit comments

Comments
 (0)