Skip to content

Commit 097fdaf

Browse files
authored
chore: add quota to source-controlled template (coder#15271)
1 parent 3c7808c commit 097fdaf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dogfood/contents/main.tf

+6
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,12 @@ resource "coder_agent" "dev" {
275275
EOT
276276
}
277277

278+
# Add a cost so we get some quota usage in dev.coder.com
279+
resource "coder_metadata" "home_volume" {
280+
resource_id = docker_volume.home_volume.id
281+
daily_cost = 1
282+
}
283+
278284
resource "docker_volume" "home_volume" {
279285
name = "coder-${data.coder_workspace.me.id}-home"
280286
# Protect the volume from being deleted due to changes in attributes.

0 commit comments

Comments
 (0)