terraform { required_version = ">= 1.0" required_providers { coder = { source = "coder/coder" version = ">= 0.17" } } } variable "agent_id" { type = string description = "The ID of a Coder agent." } resource "coder_script" "windows-rdp" { agent_id = var.agent_id display_name = "web-rdp" icon = "https://svgur.com/i/158F.svg" # TODO: add to Coder icons script = <