@@ -13,6 +13,7 @@ Automatically install [code-server](https://github.com/coder/code-server) in a w
13
13
14
14
``` tf
15
15
module "code-server" {
16
+ count = data.coder_workspace.me.start_count
16
17
source = "registry.coder.com/modules/code-server/coder"
17
18
version = "1.0.26"
18
19
agent_id = coder_agent.example.id
@@ -27,6 +28,7 @@ module "code-server" {
27
28
28
29
``` tf
29
30
module "code-server" {
31
+ count = data.coder_workspace.me.start_count
30
32
source = "registry.coder.com/modules/code-server/coder"
31
33
version = "1.0.26"
32
34
agent_id = coder_agent.example.id
@@ -40,6 +42,7 @@ Install the Dracula theme from [OpenVSX](https://open-vsx.org/):
40
42
41
43
``` tf
42
44
module "code-server" {
45
+ count = data.coder_workspace.me.start_count
43
46
source = "registry.coder.com/modules/code-server/coder"
44
47
version = "1.0.26"
45
48
agent_id = coder_agent.example.id
@@ -57,6 +60,7 @@ Configure VS Code's [settings.json](https://code.visualstudio.com/docs/getstarte
57
60
58
61
``` tf
59
62
module "code-server" {
63
+ count = data.coder_workspace.me.start_count
60
64
source = "registry.coder.com/modules/code-server/coder"
61
65
version = "1.0.26"
62
66
agent_id = coder_agent.example.id
@@ -73,6 +77,7 @@ Just run code-server in the background, don't fetch it from GitHub:
73
77
74
78
``` tf
75
79
module "code-server" {
80
+ count = data.coder_workspace.me.start_count
76
81
source = "registry.coder.com/modules/code-server/coder"
77
82
version = "1.0.26"
78
83
agent_id = coder_agent.example.id
@@ -88,6 +93,7 @@ Run an existing copy of code-server if found, otherwise download from GitHub:
88
93
89
94
``` tf
90
95
module "code-server" {
96
+ count = data.coder_workspace.me.start_count
91
97
source = "registry.coder.com/modules/code-server/coder"
92
98
version = "1.0.26"
93
99
agent_id = coder_agent.example.id
@@ -100,6 +106,7 @@ Just run code-server in the background, don't fetch it from GitHub:
100
106
101
107
``` tf
102
108
module "code-server" {
109
+ count = data.coder_workspace.me.start_count
103
110
source = "registry.coder.com/modules/code-server/coder"
104
111
version = "1.0.26"
105
112
agent_id = coder_agent.example.id
0 commit comments