Skip to content

Commit a5cc8a1

Browse files
committed
feat: add optional property to coder_external_auth
1 parent 56cf845 commit a5cc8a1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

provider/externalauth.go

+6-1
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,13 @@ func externalAuthDataSource() *schema.Resource {
3232
},
3333
"access_token": {
3434
Type: schema.TypeString,
35-
Computed: true,
3635
Description: "The access token returned by the external auth provider. This can be used to pre-authenticate command-line tools.",
36+
Computed: true,
37+
},
38+
"optional": {
39+
Type: schema.TypeBool,
40+
Description: "Connecting to the external auth provider is not required, and can be skipped by users.",
41+
Optional: true,
3742
},
3843
},
3944
}

0 commit comments

Comments
 (0)