From 6a358987928640a4ed30548d2a954801eec8b308 Mon Sep 17 00:00:00 2001 From: Jon Ayers Date: Tue, 29 Oct 2024 13:32:41 +0000 Subject: [PATCH] chore: add quota to source-controlled template --- dogfood/contents/main.tf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dogfood/contents/main.tf b/dogfood/contents/main.tf index 5b026a46f934b..c2709e0faf6c1 100644 --- a/dogfood/contents/main.tf +++ b/dogfood/contents/main.tf @@ -275,6 +275,12 @@ resource "coder_agent" "dev" { EOT } +# Add a cost so we get some quota usage in dev.coder.com +resource "coder_metadata" "home_volume" { + resource_id = docker_volume.home_volume.id + daily_cost = 1 +} + resource "docker_volume" "home_volume" { name = "coder-${data.coder_workspace.me.id}-home" # Protect the volume from being deleted due to changes in attributes.