docs: promote count usage to prevent module download on stop (#371)

This commit is contained in:
Muhammad Atif Ali
2024-12-23 14:22:55 +05:00
committed by GitHub
parent bc6490f0d3
commit 7654140330
31 changed files with 102 additions and 10 deletions

View File

@@ -13,6 +13,7 @@ Templates that utilize Github External Auth can automatically ensure that the Co
```tf
module "github-upload-public-key" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/github-upload-public-key/coder"
version = "1.0.15"
agent_id = coder_agent.example.id
@@ -45,6 +46,7 @@ data "coder_external_auth" "github" {
}
module "github-upload-public-key" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/github-upload-public-key/coder"
version = "1.0.15"
agent_id = coder_agent.example.id