Skip to content

Commit b031136

Browse files
authored
chore: add start_blocks_login=true (#61)
1 parent d7f60d3 commit b031136

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

git-clone/main.tf

+5-4
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@ variable "agent_id" {
2626
}
2727

2828
resource "coder_script" "git_clone" {
29-
agent_id = var.agent_id
30-
display_name = "Git Clone"
31-
icon = "/icons/git.svg"
29+
agent_id = var.agent_id
3230
script = templatefile("${path.module}/run.sh", {
3331
CLONE_PATH : var.path != "" ? var.path : join("/", ["~", basename(var.url)]),
3432
REPO_URL : var.url,
3533
})
36-
run_on_start = true
34+
display_name = "Git Clone"
35+
icon = "/icons/git.svg"
36+
run_on_start = true
37+
start_blocks_login = true
3738
}

personalize/main.tf

+5-4
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ resource "coder_script" "personalize" {
3131
script = templatefile("${path.module}/run.sh", {
3232
PERSONALIZE_PATH : var.path,
3333
})
34-
display_name = "Personalize"
35-
icon = "/icon/personalize.svg"
36-
log_path = var.log_path
37-
run_on_start = true
34+
display_name = "Personalize"
35+
icon = "/icon/personalize.svg"
36+
log_path = var.log_path
37+
run_on_start = true
38+
start_blocks_login = true
3839
}

0 commit comments

Comments
 (0)