mirror of
https://github.com/coder/coder.git
synced 2025-03-14 10:09:57 +00:00
chore: add quota to source-controlled template (#15271)
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user