mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
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
HCL
16 lines
211 B
HCL
variable "script" {
|
|
type = string
|
|
}
|
|
|
|
data "null_data_source" "script" {
|
|
inputs = {
|
|
script = var.script
|
|
}
|
|
}
|
|
|
|
resource "null_resource" "example" {
|
|
depends_on = [
|
|
data.null_data_source.script
|
|
]
|
|
}
|