File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ resource "kubernetes_pod" "dev" {
3131### Read-Only
3232
3333- ** name** (String) Name of the workspace.
34+ - ** owner** (String) Username of the workspace owner.
3435- ** transition** (String) Either "start" or "stop". Use this to start/stop resources with "count".
35- - ** username** (String) Username of the workspace owner.
3636
3737
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ func New() *schema.Provider {
6565 transition = "start"
6666 }
6767 rd .Set ("transition" , transition )
68- rd .Set ("username " , os .Getenv ("CODER_WORKSPACE_USERNAME " ))
68+ rd .Set ("owner " , os .Getenv ("CODER_WORKSPACE_OWNER " ))
6969 rd .Set ("name" , os .Getenv ("CODER_WORKSPACE_NAME" ))
7070 return nil
7171 },
@@ -75,7 +75,7 @@ func New() *schema.Provider {
7575 Computed : true ,
7676 Description : `Either "start" or "stop". Use this to start/stop resources with "count".` ,
7777 },
78- "username " : {
78+ "owner " : {
7979 Type : schema .TypeString ,
8080 Computed : true ,
8181 Description : "Username of the workspace owner." ,
You can’t perform that action at this time.
0 commit comments