chore: add start_blocks_login=true (#61)

This commit is contained in:
Muhammad Atif Ali
2023-09-28 16:14:04 +03:00
committed by GitHub
parent d7f60d3000
commit b031136552
2 changed files with 10 additions and 8 deletions

View File

@@ -26,12 +26,13 @@ variable "agent_id" {
}
resource "coder_script" "git_clone" {
agent_id = var.agent_id
display_name = "Git Clone"
icon = "/icons/git.svg"
agent_id = var.agent_id
script = templatefile("${path.module}/run.sh", {
CLONE_PATH : var.path != "" ? var.path : join("/", ["~", basename(var.url)]),
REPO_URL : var.url,
})
run_on_start = true
display_name = "Git Clone"
icon = "/icons/git.svg"
run_on_start = true
start_blocks_login = true
}