File tree 2 files changed +3
-3
lines changed
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" {
31
31
### Read-Only
32
32
33
33
- ** name** (String) Name of the workspace.
34
+ - ** owner** (String) Username of the workspace owner.
34
35
- ** transition** (String) Either "start" or "stop". Use this to start/stop resources with "count".
35
- - ** username** (String) Username of the workspace owner.
36
36
37
37
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ func New() *schema.Provider {
65
65
transition = "start"
66
66
}
67
67
rd .Set ("transition" , transition )
68
- rd .Set ("username " , os .Getenv ("CODER_WORKSPACE_USERNAME " ))
68
+ rd .Set ("owner " , os .Getenv ("CODER_WORKSPACE_OWNER " ))
69
69
rd .Set ("name" , os .Getenv ("CODER_WORKSPACE_NAME" ))
70
70
return nil
71
71
},
@@ -75,7 +75,7 @@ func New() *schema.Provider {
75
75
Computed : true ,
76
76
Description : `Either "start" or "stop". Use this to start/stop resources with "count".` ,
77
77
},
78
- "username " : {
78
+ "owner " : {
79
79
Type : schema .TypeString ,
80
80
Computed : true ,
81
81
Description : "Username of the workspace owner." ,
You can’t perform that action at this time.
0 commit comments