mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
docs: replace coder_git_auth with coder_external_auth (#13936)
This commit is contained in:
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:
|
If you want the template to clone a specific git repo:
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
# Require git authentication to use this template
|
# Require external authentication to use this template
|
||||||
data "coder_git_auth" "github" {
|
data "coder_external_auth" "github" {
|
||||||
id = "primary-github"
|
id = "primary-github"
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -56,8 +56,8 @@ If you want the template to support any repository via
|
|||||||
[parameters](./parameters.md)
|
[parameters](./parameters.md)
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
# Require git authentication to use this template
|
# Require external authentication to use this template
|
||||||
data "coder_git_auth" "github" {
|
data "coder_external_auth" "github" {
|
||||||
id = "primary-github"
|
id = "primary-github"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user