Skip to content

Commit

Permalink
fix: correct gitauth documentation (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
janLo authored Aug 14, 2023
1 parent 62bb8c6 commit 8cd6906
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,13 @@ For access token-based authentication, follow the following schema (if empty, th
If using envbuilder inside of [Coder](https://github.com/coder/coder), you can use the `coder_git_auth` Terraform resource to automatically provide this token on workspace creation:

```hcl
resource "coder_git_auth" "github" {
data "coder_git_auth" "github" {
id = "github"
}
resource "docker_container" "dev" {
env = [
GIT_USERNAME = coder_git_auth.github.access_token,
GIT_USERNAME = data.coder_git_auth.github.access_token,
]
}
```
Expand Down

0 comments on commit 8cd6906

Please sign in to comment.