mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
docs: replace coder_git_auth with coder_external_auth (#13936)
This commit is contained in:
committed by
GitHub
parent
03c5d42233
commit
88d2dbd994
Vendored
+4
-4
@@ -26,8 +26,8 @@ The id in the template's `coder_external_auth` data source must match the
|
||||
If you want the template to clone a specific git repo:
|
||||
|
||||
```hcl
|
||||
# Require git authentication to use this template
|
||||
data "coder_git_auth" "github" {
|
||||
# Require external authentication to use this template
|
||||
data "coder_external_auth" "github" {
|
||||
id = "primary-github"
|
||||
}
|
||||
|
||||
@@ -56,8 +56,8 @@ If you want the template to support any repository via
|
||||
[parameters](./parameters.md)
|
||||
|
||||
```hcl
|
||||
# Require git authentication to use this template
|
||||
data "coder_git_auth" "github" {
|
||||
# Require external authentication to use this template
|
||||
data "coder_external_auth" "github" {
|
||||
id = "primary-github"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user