Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

chore: add start_blocks_login=true #61

Merged
merged 2 commits into from
Sep 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions git-clone/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
9 changes: 5 additions & 4 deletions personalize/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}