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

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

@ -35,4 +35,5 @@ resource "coder_script" "personalize" {
icon = "/icon/personalize.svg"
log_path = var.log_path
run_on_start = true
start_blocks_login = true
}

Loading…
Cancel
Save