mirror of
https://github.com/coder/coder.git
synced 2026-06-05 05:58:20 +00:00
f9290b016e
This cleans up agent association code to explicitly map a single agent to a single resource. This will fix #1884, and unblock a prospect from beginning a POC.
16 lines
211 B
Terraform
16 lines
211 B
Terraform
variable "script" {
|
|
type = string
|
|
}
|
|
|
|
data "null_data_source" "script" {
|
|
inputs = {
|
|
script = var.script
|
|
}
|
|
}
|
|
|
|
resource "null_resource" "example" {
|
|
depends_on = [
|
|
data.null_data_source.script
|
|
]
|
|
}
|