feat: add version to module docs (#122)

This commit is contained in:
Muhammad Atif Ali
2024-01-23 13:50:55 +03:00
committed by GitHub
parent 5b3edd9bbd
commit b968a2aa22
26 changed files with 271 additions and 207 deletions

View File

@@ -13,7 +13,8 @@ Runs a script that updates git credentials in the workspace to match the user's
```hcl
module "git-config" {
source = "https://registry.coder.com/modules/git-config"
source = "registry.coder.com/modules/git-config/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
}
```
@@ -26,7 +27,8 @@ TODO: Add screenshot
```hcl
module "git-config" {
source = "https://registry.coder.com/modules/git-config"
source = "registry.coder.com/modules/git-config/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
allow_email_change = true
}
@@ -38,7 +40,8 @@ TODO: Add screenshot
```hcl
module "git-config" {
source = "https://registry.coder.com/modules/git-config"
source = "registry.coder.com/modules/git-config/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
allow_username_change = false
allow_email_change = false