File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ coder templates init
22
22
vim < template-name> /main.tf
23
23
24
24
# add the template to Coder deployment
25
- coder templates < create/update > < template-name>
25
+ coder templates create < template-name>
26
26
```
27
27
28
28
> See the documentation and source code for each example in the
@@ -227,25 +227,24 @@ You can delete a template using the coder CLI. Only
227
227
228
228
Using the CLI, login to Coder and run the following command to delete a template:
229
229
230
- ``` console
230
+ ``` sh
231
231
coder templates pull < template-name> file.tar.gz
232
232
```
233
233
234
234
This will pull down the template as a gzipped file to your current directory. Then unzip
235
235
it by running:
236
236
237
- ``` console
238
- tar -xf
237
+ ``` sh
238
+ tar -xf file.tar.gz
239
239
```
240
240
241
241
Make the changes to your template then run this command from the root of the template folder:
242
242
243
- ``` console
243
+ ``` sh
244
244
coder templates push < template-name>
245
245
```
246
246
247
- Your updated template will now be available in the UI for new workspaces.
248
- Previously created workspaces will see a button to update as well.
247
+ Your updated template will now be available. Outdated workspaces will have a prompt in the dashboard to update.
249
248
250
249
### Delete templates
251
250
You can’t perform that action at this time.
0 commit comments