Skip to content

Commit 92b6387

Browse files
authored
chore: remove dogfood envbuilder template deployment (coder#20546)
Already missing in state, verified with `terraform state list`
1 parent 303e9ef commit 92b6387

File tree

1 file changed

+47
-46
lines changed

1 file changed

+47
-46
lines changed

dogfood/main.tf

Lines changed: 47 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -87,49 +87,50 @@ resource "coderd_template" "dogfood" {
8787
time_til_dormant_ms = 8640000000
8888
}
8989

90-
91-
resource "coderd_template" "envbuilder_dogfood" {
92-
name = "coder-envbuilder"
93-
display_name = "Write Coder on Coder using Envbuilder"
94-
description = "Write Coder on Coder using a workspace built by Envbuilder."
95-
icon = "/emojis/1f3d7.png" # 🏗️
96-
organization_id = data.coderd_organization.default.id
97-
versions = [
98-
{
99-
name = var.CODER_TEMPLATE_VERSION
100-
message = var.CODER_TEMPLATE_MESSAGE
101-
directory = "./coder-envbuilder"
102-
active = true
103-
tf_vars = [{
104-
# clusters/dogfood-v2/coder/provisioner/configs/values.yaml#L191-L194
105-
name = "envbuilder_cache_dockerconfigjson_path"
106-
value = "/home/coder/envbuilder-cache-dockerconfig.json"
107-
}]
108-
}
109-
]
110-
acl = {
111-
groups = [{
112-
id = data.coderd_organization.default.id
113-
role = "use"
114-
}]
115-
users = [{
116-
id = data.coderd_user.machine.id
117-
role = "admin"
118-
}]
119-
}
120-
activity_bump_ms = 10800000
121-
allow_user_auto_start = true
122-
allow_user_auto_stop = true
123-
allow_user_cancel_workspace_jobs = false
124-
auto_start_permitted_days_of_week = ["friday", "monday", "saturday", "sunday", "thursday", "tuesday", "wednesday"]
125-
auto_stop_requirement = {
126-
days_of_week = ["sunday"]
127-
weeks = 1
128-
}
129-
default_ttl_ms = 28800000
130-
deprecation_message = null
131-
failure_ttl_ms = 604800000
132-
require_active_version = true
133-
time_til_dormant_autodelete_ms = 7776000000
134-
time_til_dormant_ms = 8640000000
135-
}
90+
# Disabled for now until we restore the deleted template.
91+
# My bad - Dean
92+
#resource "coderd_template" "envbuilder_dogfood" {
93+
# name = "coder-envbuilder"
94+
# display_name = "Write Coder on Coder using Envbuilder"
95+
# description = "Write Coder on Coder using a workspace built by Envbuilder."
96+
# icon = "/emojis/1f3d7.png" # 🏗️
97+
# organization_id = data.coderd_organization.default.id
98+
# versions = [
99+
# {
100+
# name = var.CODER_TEMPLATE_VERSION
101+
# message = var.CODER_TEMPLATE_MESSAGE
102+
# directory = "./coder-envbuilder"
103+
# active = true
104+
# tf_vars = [{
105+
# # clusters/dogfood-v2/coder/provisioner/configs/values.yaml#L191-L194
106+
# name = "envbuilder_cache_dockerconfigjson_path"
107+
# value = "/home/coder/envbuilder-cache-dockerconfig.json"
108+
# }]
109+
# }
110+
# ]
111+
# acl = {
112+
# groups = [{
113+
# id = data.coderd_organization.default.id
114+
# role = "use"
115+
# }]
116+
# users = [{
117+
# id = data.coderd_user.machine.id
118+
# role = "admin"
119+
# }]
120+
# }
121+
# activity_bump_ms = 10800000
122+
# allow_user_auto_start = true
123+
# allow_user_auto_stop = true
124+
# allow_user_cancel_workspace_jobs = false
125+
# auto_start_permitted_days_of_week = ["friday", "monday", "saturday", "sunday", "thursday", "tuesday", "wednesday"]
126+
# auto_stop_requirement = {
127+
# days_of_week = ["sunday"]
128+
# weeks = 1
129+
# }
130+
# default_ttl_ms = 28800000
131+
# deprecation_message = null
132+
# failure_ttl_ms = 604800000
133+
# require_active_version = true
134+
# time_til_dormant_autodelete_ms = 7776000000
135+
# time_til_dormant_ms = 8640000000
136+
#}

0 commit comments

Comments
 (0)