add agent_id to git_clone

pull/54/head
Muhammad Atif Ali 2 years ago
parent b1533c1eab
commit 4c0c27d6b5
No known key found for this signature in database

@ -13,8 +13,9 @@ This module allows you to automatically clone a repository by URL and skip if it
```hcl ```hcl
module "git-clone" { module "git-clone" {
source = "https://registry.coder.com/modules/git-clone" source = "https://registry.coder.com/modules/git-clone"
url = "https://github.com/coder/coder" agent_id = coder_agent.example.id
url = "https://github.com/coder/coder"
} }
``` ```
@ -32,8 +33,9 @@ data "coder_git_auth" "github" {
```hcl ```hcl
module "git-clone" { module "git-clone" {
source = "https://registry.coder.com/modules/git-clone" source = "https://registry.coder.com/modules/git-clone"
url = "https://github.com/coder/coder" agent_id = coder_agent.example.id
path = "~/projects/coder/coder" url = "https://github.com/coder/coder"
path = "~/projects/coder/coder"
} }
``` ```

Loading…
Cancel
Save