chore: add `start_blocks_login=true` (#61)

pull/62/head
Muhammad Atif Ali 2 years ago committed by GitHub
parent d7f60d3000
commit b031136552
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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
}

@ -31,8 +31,9 @@ resource "coder_script" "personalize" {
script = templatefile("${path.module}/run.sh", {
PERSONALIZE_PATH : var.path,
})
display_name = "Personalize"
icon = "/icon/personalize.svg"
log_path = var.log_path
run_on_start = true
display_name = "Personalize"
icon = "/icon/personalize.svg"
log_path = var.log_path
run_on_start = true
start_blocks_login = true
}

Loading…
Cancel
Save