File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
examples/templates/gcp-linux Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,6 @@ resource "coder_app" "code-server" {
129
129
130
130
resource "google_compute_instance" "dev" {
131
131
zone = data. coder_parameter . zone . value
132
- count = data. coder_workspace . me . start_count
133
132
name = " coder-${ lower (data. coder_workspace . me . owner )} -${ lower (data. coder_workspace . me . name )} -root"
134
133
machine_type = " e2-medium"
135
134
desired_status = (data. coder_workspace . me . owner == " default" || data. coder_workspace . me . start_count == 1 ? " RUNNING" : " TERMINATED" )
@@ -162,7 +161,7 @@ resource "google_compute_instance" "dev" {
162
161
echo "${ local . linux_user } ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/coder-user
163
162
fi
164
163
# Start the agent
165
- exec sudo -u "${ local . linux_user } " sh -c '${ try (coder_agent. mainp [0 ]. init_script , " " )} '
164
+ exec sudo -u "${ local . linux_user } " sh -c '${ try (coder_agent. main [0 ]. init_script , " " )} '
166
165
EOMETA
167
166
}
168
167
}
You can’t perform that action at this time.
0 commit comments