satisfied templatefile args

pull/47/head
Stephen Kirby 2 years ago
parent 936040afae
commit d9e1d141ab

@ -14,16 +14,10 @@ variable "agent_id" {
description = "The ID of a Coder agent."
}
# variable "path" {
# type = string
# description = "The path to a script that will be ran on start enabling a user to personalize their workspace."
# default = "~/personalize"
# }
resource "coder_script" "personalize" {
agent_id = var.agent_id
script = templatefile("${path.module}/run.sh")
script = templatefile("${path.module}/run.sh", {}) # TODO: maybe remove templatefile
display_name = "Git Config"
icon = "/emojis/1f58c.png" # TODO: test if the local git icon works
icon = "/emojis/1f58c.png" # TODO: test if the local git icon works
run_on_start = true
}

Loading…
Cancel
Save