Skip to content

Commit 08de97d

Browse files
blink-so[bot]AtifUpdate
andcommitted
Fix Terraform formatting
Run terraform fmt -recursive to fix alignment and formatting issues identified by CI formatting validation. Co-authored-by: AtifUpdate <[email protected]>
1 parent 7f2862b commit 08de97d

File tree

16 files changed

+115
-115
lines changed

16 files changed

+115
-115
lines changed

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

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module "claude-code" {
2424
source = "registry.coder.com/coder/claude-code/coder"
2525
version = "2.0.0"
2626
agent_id = coder_agent.main.id
27-
agent_name = "main"
27+
agent_name = "main"
2828
folder = "/home/coder/projects"
2929
install_claude_code = true
3030
claude_code_version = "latest"
@@ -45,10 +45,10 @@ variable "anthropic_api_key" {
4545
sensitive = true
4646
}
4747
resource "coder_env" "anthropic_api_key" {
48-
agent_id = coder_agent.main.id
48+
agent_id = coder_agent.main.id
4949
agent_name = "main"
50-
name = "CODER_MCP_CLAUDE_API_KEY"
51-
value = var.anthropic_api_key
50+
name = "CODER_MCP_CLAUDE_API_KEY"
51+
value = var.anthropic_api_key
5252
}
5353

5454
# We are using presets to set the prompts, image, and set up instructions
@@ -176,22 +176,22 @@ data "coder_parameter" "preview_port" {
176176

177177
# Other variables for Claude Code
178178
resource "coder_env" "claude_task_prompt" {
179-
agent_id = coder_agent.main.id
179+
agent_id = coder_agent.main.id
180180
agent_name = "main"
181-
name = "CODER_MCP_CLAUDE_TASK_PROMPT"
182-
value = data.coder_parameter.ai_prompt.value
181+
name = "CODER_MCP_CLAUDE_TASK_PROMPT"
182+
value = data.coder_parameter.ai_prompt.value
183183
}
184184
resource "coder_env" "app_status_slug" {
185-
agent_id = coder_agent.main.id
185+
agent_id = coder_agent.main.id
186186
agent_name = "main"
187-
name = "CODER_MCP_APP_STATUS_SLUG"
188-
value = "ccw"
187+
name = "CODER_MCP_APP_STATUS_SLUG"
188+
value = "ccw"
189189
}
190190
resource "coder_env" "claude_system_prompt" {
191-
agent_id = coder_agent.main.id
191+
agent_id = coder_agent.main.id
192192
agent_name = "main"
193-
name = "CODER_MCP_CLAUDE_SYSTEM_PROMPT"
194-
value = data.coder_parameter.system_prompt.value
193+
name = "CODER_MCP_CLAUDE_SYSTEM_PROMPT"
194+
value = data.coder_parameter.system_prompt.value
195195
}
196196

197197
data "coder_provisioner" "me" {}
@@ -301,42 +301,42 @@ module "code-server" {
301301
# 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.
302302
version = "~> 1.0"
303303

304-
agent_id = coder_agent.main.id
304+
agent_id = coder_agent.main.id
305305
agent_name = "main"
306-
order = 1
306+
order = 1
307307
}
308308

309309
module "vscode" {
310-
count = data.coder_workspace.me.start_count
311-
source = "registry.coder.com/coder/vscode-desktop/coder"
312-
version = "1.1.0"
313-
agent_id = coder_agent.main.id
310+
count = data.coder_workspace.me.start_count
311+
source = "registry.coder.com/coder/vscode-desktop/coder"
312+
version = "1.1.0"
313+
agent_id = coder_agent.main.id
314314
agent_name = "main"
315315
}
316316

317317
module "windsurf" {
318-
count = data.coder_workspace.me.start_count
319-
source = "registry.coder.com/coder/windsurf/coder"
320-
version = "1.1.0"
321-
agent_id = coder_agent.main.id
318+
count = data.coder_workspace.me.start_count
319+
source = "registry.coder.com/coder/windsurf/coder"
320+
version = "1.1.0"
321+
agent_id = coder_agent.main.id
322322
agent_name = "main"
323323
}
324324

325325
module "cursor" {
326-
count = data.coder_workspace.me.start_count
327-
source = "registry.coder.com/coder/cursor/coder"
328-
version = "1.2.0"
329-
agent_id = coder_agent.main.id
326+
count = data.coder_workspace.me.start_count
327+
source = "registry.coder.com/coder/cursor/coder"
328+
version = "1.2.0"
329+
agent_id = coder_agent.main.id
330330
agent_name = "main"
331331
}
332332

333333
module "jetbrains" {
334-
count = data.coder_workspace.me.start_count
335-
source = "registry.coder.com/modules/coder/jetbrains/coder"
336-
version = "~> 1.0"
337-
agent_id = coder_agent.main.id
334+
count = data.coder_workspace.me.start_count
335+
source = "registry.coder.com/modules/coder/jetbrains/coder"
336+
version = "~> 1.0"
337+
agent_id = coder_agent.main.id
338338
agent_name = "main"
339-
folder = "/home/coder/projects"
339+
folder = "/home/coder/projects"
340340
}
341341

342342
resource "docker_volume" "home_volume" {
@@ -368,7 +368,7 @@ resource "docker_volume" "home_volume" {
368368

369369
resource "coder_app" "preview" {
370370
agent_id = coder_agent.main.id
371-
agent_name = "main"
371+
agent_name = "main"
372372
slug = "preview"
373373
display_name = "Preview your app"
374374
icon = "${data.coder_workspace.me.access_url}/emojis/1f50e.png"

registry/coder/templates/aws-devcontainer/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ module "code-server" {
326326
count = data.coder_workspace.me.start_count
327327
source = "registry.coder.com/coder/code-server/coder"
328328
# 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.
329-
version = "~> 1.0"
330-
agent_id = coder_agent.dev[0].id
329+
version = "~> 1.0"
330+
agent_id = coder_agent.dev[0].id
331331
agent_name = "dev"
332332
}

registry/coder/templates/aws-linux/main.tf

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -201,19 +201,19 @@ module "code-server" {
201201
# 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.
202202
version = "~> 1.0"
203203

204-
agent_id = coder_agent.dev[0].id
204+
agent_id = coder_agent.dev[0].id
205205
agent_name = "dev"
206-
order = 1
206+
order = 1
207207
}
208208

209209
# See https://registry.coder.com/modules/coder/jetbrains
210210
module "jetbrains" {
211-
count = data.coder_workspace.me.start_count
212-
source = "registry.coder.com/modules/coder/jetbrains/coder"
213-
version = "~> 1.0"
214-
agent_id = coder_agent.dev[0].id
211+
count = data.coder_workspace.me.start_count
212+
source = "registry.coder.com/modules/coder/jetbrains/coder"
213+
version = "~> 1.0"
214+
agent_id = coder_agent.dev[0].id
215215
agent_name = "dev"
216-
folder = "/home/coder"
216+
folder = "/home/coder"
217217
}
218218

219219
locals {

registry/coder/templates/azure-linux/main.tf

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -144,19 +144,19 @@ module "code-server" {
144144
# 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.
145145
version = "~> 1.0"
146146

147-
agent_id = coder_agent.main.id
147+
agent_id = coder_agent.main.id
148148
agent_name = "main"
149-
order = 1
149+
order = 1
150150
}
151151

152152
# See https://registry.coder.com/modules/coder/jetbrains
153153
module "jetbrains" {
154-
count = data.coder_workspace.me.start_count
155-
source = "registry.coder.com/modules/coder/jetbrains/coder"
156-
version = "~> 1.0"
157-
agent_id = coder_agent.main.id
154+
count = data.coder_workspace.me.start_count
155+
source = "registry.coder.com/modules/coder/jetbrains/coder"
156+
version = "~> 1.0"
157+
agent_id = coder_agent.main.id
158158
agent_name = "main"
159-
folder = "/home/coder"
159+
folder = "/home/coder"
160160
}
161161

162162
locals {

registry/coder/templates/azure-windows/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ module "windows_rdp" {
3737
admin_password = random_password.admin_password.result
3838

3939
agent_id = resource.coder_agent.main.id
40-
agent_name = "main"
40+
agent_name = "main"
4141
resource_id = null # Unused, to be removed in a future version
4242
}
4343

registry/coder/templates/digitalocean-linux/main.tf

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -272,19 +272,19 @@ module "code-server" {
272272
# 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.
273273
version = "~> 1.0"
274274

275-
agent_id = coder_agent.main.id
275+
agent_id = coder_agent.main.id
276276
agent_name = "main"
277-
order = 1
277+
order = 1
278278
}
279279

280280
# See https://registry.coder.com/modules/coder/jetbrains
281281
module "jetbrains" {
282-
count = data.coder_workspace.me.start_count
283-
source = "registry.coder.com/modules/coder/jetbrains/coder"
284-
version = "~> 1.0"
285-
agent_id = coder_agent.main.id
282+
count = data.coder_workspace.me.start_count
283+
source = "registry.coder.com/modules/coder/jetbrains/coder"
284+
version = "~> 1.0"
285+
agent_id = coder_agent.main.id
286286
agent_name = "main"
287-
folder = "/home/coder"
287+
folder = "/home/coder"
288288
}
289289

290290
resource "digitalocean_volume" "home_volume" {

registry/coder/templates/docker-devcontainer/main.tf

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -330,19 +330,19 @@ module "code-server" {
330330
# 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.
331331
version = "~> 1.0"
332332

333-
agent_id = coder_agent.main.id
333+
agent_id = coder_agent.main.id
334334
agent_name = "main"
335-
order = 1
335+
order = 1
336336
}
337337

338338
# See https://registry.coder.com/modules/coder/jetbrains
339339
module "jetbrains" {
340-
count = data.coder_workspace.me.start_count
341-
source = "registry.coder.com/modules/coder/jetbrains/coder"
342-
version = "~> 1.0"
343-
agent_id = coder_agent.main.id
340+
count = data.coder_workspace.me.start_count
341+
source = "registry.coder.com/modules/coder/jetbrains/coder"
342+
version = "~> 1.0"
343+
agent_id = coder_agent.main.id
344344
agent_name = "main"
345-
folder = "/workspaces"
345+
folder = "/workspaces"
346346
}
347347

348348
resource "coder_metadata" "container_info" {

registry/coder/templates/docker/main.tf

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -129,19 +129,19 @@ module "code-server" {
129129
# 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.
130130
version = "~> 1.0"
131131

132-
agent_id = coder_agent.main.id
132+
agent_id = coder_agent.main.id
133133
agent_name = "main"
134-
order = 1
134+
order = 1
135135
}
136136

137137
# See https://registry.coder.com/modules/coder/jetbrains
138138
module "jetbrains" {
139-
count = data.coder_workspace.me.start_count
140-
source = "registry.coder.com/modules/coder/jetbrains/coder"
141-
version = "~> 1.0"
142-
agent_id = coder_agent.main.id
139+
count = data.coder_workspace.me.start_count
140+
source = "registry.coder.com/modules/coder/jetbrains/coder"
141+
version = "~> 1.0"
142+
agent_id = coder_agent.main.id
143143
agent_name = "main"
144-
folder = "/home/coder"
144+
folder = "/home/coder"
145145
}
146146

147147
resource "docker_volume" "home_volume" {

registry/coder/templates/gcp-devcontainer/main.tf

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -291,19 +291,19 @@ module "code-server" {
291291
# 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.
292292
version = "~> 1.0"
293293

294-
agent_id = coder_agent.main.id
294+
agent_id = coder_agent.main.id
295295
agent_name = "main"
296-
order = 1
296+
order = 1
297297
}
298298

299299
# See https://registry.coder.com/modules/coder/jetbrains
300300
module "jetbrains" {
301-
count = data.coder_workspace.me.start_count
302-
source = "registry.coder.com/modules/coder/jetbrains/coder"
303-
version = "~> 1.0"
304-
agent_id = coder_agent.main.id
301+
count = data.coder_workspace.me.start_count
302+
source = "registry.coder.com/modules/coder/jetbrains/coder"
303+
version = "~> 1.0"
304+
agent_id = coder_agent.main.id
305305
agent_name = "main"
306-
folder = "/workspaces"
306+
folder = "/workspaces"
307307
}
308308

309309
# Create metadata for the workspace and home disk.

registry/coder/templates/gcp-linux/main.tf

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,19 +99,19 @@ module "code-server" {
9999
# 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.
100100
version = "~> 1.0"
101101

102-
agent_id = coder_agent.main.id
102+
agent_id = coder_agent.main.id
103103
agent_name = "main"
104-
order = 1
104+
order = 1
105105
}
106106

107107
# See https://registry.coder.com/modules/coder/jetbrains
108108
module "jetbrains" {
109-
count = data.coder_workspace.me.start_count
110-
source = "registry.coder.com/modules/coder/jetbrains/coder"
111-
version = "~> 1.0"
112-
agent_id = coder_agent.main.id
109+
count = data.coder_workspace.me.start_count
110+
source = "registry.coder.com/modules/coder/jetbrains/coder"
111+
version = "~> 1.0"
112+
agent_id = coder_agent.main.id
113113
agent_name = "main"
114-
folder = "/home/coder"
114+
folder = "/home/coder"
115115
}
116116

117117
resource "google_compute_instance" "dev" {

0 commit comments

Comments
 (0)