18 lines
341 B
HCL
18 lines
341 B
HCL
terraform {
|
|
required_version = ">= 1.0"
|
|
}
|
|
}
|
|
|
|
variable "agent_id" {
|
|
type = string
|
|
description = "The ID of a Coder agent."
|
|
}
|
|
|
|
resource "coder_script" "python3" {
|
|
agent_id = var.agent_id
|
|
display_name = "python3:"
|
|
script = templatefile("${path.module}/run.sh")
|
|
run_on_start = true
|
|
start_blocks_login = true
|
|
}
|