Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
make fmt
  • Loading branch information
SasSwart committed May 20, 2025
commit 796a5f59acdf40da1285095cb938e2f9bcd01d16
40 changes: 20 additions & 20 deletions dogfood/coder/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ locals {
data "coder_workspace_preset" "cpt" {
name = "Cape Town"
parameters = {
(data.coder_parameter.region.name) = "za-cpt"
(data.coder_parameter.image_type.name) = "codercom/oss-dogfood:latest"
(data.coder_parameter.repo_base_dir.name) = "~"
(data.coder_parameter.region.name) = "za-cpt"
(data.coder_parameter.image_type.name) = "codercom/oss-dogfood:latest"
(data.coder_parameter.repo_base_dir.name) = "~"
(data.coder_parameter.res_mon_memory_threshold.name) = 80
(data.coder_parameter.res_mon_volume_threshold.name) = 90
(data.coder_parameter.res_mon_volume_path.name) = "/home/coder"
(data.coder_parameter.res_mon_volume_path.name) = "/home/coder"
}
prebuilds {
instances = 1
Expand All @@ -48,12 +48,12 @@ data "coder_workspace_preset" "cpt" {
data "coder_workspace_preset" "pittsburgh" {
name = "Pittsburgh"
parameters = {
(data.coder_parameter.region.name) = "us-pittsburgh"
(data.coder_parameter.image_type.name) = "codercom/oss-dogfood:latest"
(data.coder_parameter.repo_base_dir.name) = "~"
(data.coder_parameter.region.name) = "us-pittsburgh"
(data.coder_parameter.image_type.name) = "codercom/oss-dogfood:latest"
(data.coder_parameter.repo_base_dir.name) = "~"
(data.coder_parameter.res_mon_memory_threshold.name) = 80
(data.coder_parameter.res_mon_volume_threshold.name) = 90
(data.coder_parameter.res_mon_volume_path.name) = "/home/coder"
(data.coder_parameter.res_mon_volume_path.name) = "/home/coder"
}
prebuilds {
instances = 2
Expand All @@ -63,12 +63,12 @@ data "coder_workspace_preset" "pittsburgh" {
data "coder_workspace_preset" "falkenstein" {
name = "Falkenstein"
parameters = {
(data.coder_parameter.region.name) = "eu-helsinki"
(data.coder_parameter.image_type.name) = "codercom/oss-dogfood:latest"
(data.coder_parameter.repo_base_dir.name) = "~"
(data.coder_parameter.region.name) = "eu-helsinki"
(data.coder_parameter.image_type.name) = "codercom/oss-dogfood:latest"
(data.coder_parameter.repo_base_dir.name) = "~"
(data.coder_parameter.res_mon_memory_threshold.name) = 80
(data.coder_parameter.res_mon_volume_threshold.name) = 90
(data.coder_parameter.res_mon_volume_path.name) = "/home/coder"
(data.coder_parameter.res_mon_volume_path.name) = "/home/coder"
}
prebuilds {
instances = 1
Expand All @@ -78,12 +78,12 @@ data "coder_workspace_preset" "falkenstein" {
data "coder_workspace_preset" "sydney" {
name = "Sydney"
parameters = {
(data.coder_parameter.region.name) = "ap-sydney"
(data.coder_parameter.image_type.name) = "codercom/oss-dogfood:latest"
(data.coder_parameter.repo_base_dir.name) = "~"
(data.coder_parameter.region.name) = "ap-sydney"
(data.coder_parameter.image_type.name) = "codercom/oss-dogfood:latest"
(data.coder_parameter.repo_base_dir.name) = "~"
(data.coder_parameter.res_mon_memory_threshold.name) = 80
(data.coder_parameter.res_mon_volume_threshold.name) = 90
(data.coder_parameter.res_mon_volume_path.name) = "/home/coder"
(data.coder_parameter.res_mon_volume_path.name) = "/home/coder"
}
prebuilds {
instances = 1
Expand All @@ -93,12 +93,12 @@ data "coder_workspace_preset" "sydney" {
data "coder_workspace_preset" "saopaulo" {
name = "São Paulo"
parameters = {
(data.coder_parameter.region.name) = "sa-saopaulo"
(data.coder_parameter.image_type.name) = "codercom/oss-dogfood:latest"
(data.coder_parameter.repo_base_dir.name) = "~"
(data.coder_parameter.region.name) = "sa-saopaulo"
(data.coder_parameter.image_type.name) = "codercom/oss-dogfood:latest"
(data.coder_parameter.repo_base_dir.name) = "~"
(data.coder_parameter.res_mon_memory_threshold.name) = 80
(data.coder_parameter.res_mon_volume_threshold.name) = 90
(data.coder_parameter.res_mon_volume_path.name) = "/home/coder"
(data.coder_parameter.res_mon_volume_path.name) = "/home/coder"
}
prebuilds {
instances = 1
Expand Down