File tree 3 files changed +4
-4
lines changed
examples/resources/coder_agent
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ resource "kubernetes_pod" "dev" {
28
28
container {
29
29
command = ["sh", "-c", coder_agent.dev.init_script]
30
30
env {
31
- name = "CODER_TOKEN "
31
+ name = "CODER_AGENT_TOKEN "
32
32
value = coder_agent.dev.token
33
33
}
34
34
}
@@ -55,6 +55,6 @@ resource "kubernetes_pod" "dev" {
55
55
### Read-Only
56
56
57
57
- ` init_script ` (String) Run this script on startup of an instance to initialize the agent.
58
- - ` token ` (String) Set the environment variable "CODER_TOKEN " with this token to authenticate an agent.
58
+ - ` token ` (String) Set the environment variable "CODER_AGENT_TOKEN " with this token to authenticate an agent.
59
59
60
60
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ resource "kubernetes_pod" "dev" {
13
13
container {
14
14
command = [" sh" , " -c" , coder_agent . dev . init_script ]
15
15
env {
16
- name = " CODER_TOKEN "
16
+ name = " CODER_AGENT_TOKEN "
17
17
value = coder_agent. dev . token
18
18
}
19
19
}
Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ func New() *schema.Provider {
191
191
},
192
192
"token" : {
193
193
ForceNew : true ,
194
- Description : `Set the environment variable "CODER_TOKEN " with this token to authenticate an agent.` ,
194
+ Description : `Set the environment variable "CODER_AGENT_TOKEN " with this token to authenticate an agent.` ,
195
195
Type : schema .TypeString ,
196
196
Computed : true ,
197
197
},
You can’t perform that action at this time.
0 commit comments