You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: provider/env.go
+2
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,8 @@ import (
12
12
13
13
funcenvResource() *schema.Resource {
14
14
return&schema.Resource{
15
+
SchemaVersion: 1,
16
+
15
17
Description: `Use this resource to set an environment variable in a workspace. Note that this resource cannot be used to overwrite existing environment variables set on the "coder_agent" resource.`,
// externalAuthDataSource returns a schema for an external authentication data source.
13
14
funcexternalAuthDataSource() *schema.Resource {
14
15
return&schema.Resource{
16
+
SchemaVersion: 1,
17
+
15
18
Description: "Use this data source to require users to authenticate with an external service prior to workspace creation. This can be used to pre-authenticate external services in a workspace. (e.g. gcloud, gh, docker, etc)",
// gitAuthDataSource returns a schema for a Git authentication data source.
13
14
funcgitAuthDataSource() *schema.Resource {
14
15
return&schema.Resource{
16
+
SchemaVersion: 1,
17
+
15
18
DeprecationMessage: "Use the `coder_external_auth` data source instead.",
16
19
Description: "Use this data source to require users to authenticate with a Git provider prior to workspace creation. This can be used to perform an authenticated `git clone` in startup scripts.",
0 commit comments