terraform { required_version = ">= 1.0" required_providers { coder = { source = "coder/coder" version = ">= 0.12" } } } variable "agent_id" { type = string description = "The ID of a Coder agent." } variable "auth_provider_id" { type = string description = "The ID of an external auth provider." } resource "coder_script" "install_slackme" { agent_id = var.agent_id display_name = "install_slackme" script = < $CODER_DIR/slackme <