Files
coder/provisioner/terraform/testdata/calling-module/calling-module.tf
T
Kyle Carberry 3364abecdd chore: generate terraform testdata with matching terraform version (#13343)
Terraform changed the default output of the `terraform graph` command. You must put `-type=plan` to keep the prior behavior.


Co-authored-by: Colin Adler <colin1adler@gmail.com>
2024-05-22 12:45:47 -05:00

19 lines
268 B
Terraform

terraform {
required_providers {
coder = {
source = "coder/coder"
version = "0.22.0"
}
}
}
resource "coder_agent" "main" {
os = "linux"
arch = "amd64"
}
module "module" {
source = "./module"
script = coder_agent.main.init_script
}