Files
coder/provisioner/terraform/testdata/git-auth-providers/git-auth-providers.tf
T
Kyle CarberryandColin Adler 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

28 lines
367 B
Terraform

terraform {
required_providers {
coder = {
source = "coder/coder"
version = "0.22.0"
}
}
}
data "coder_git_auth" "github" {
id = "github"
}
data "coder_git_auth" "gitlab" {
id = "gitlab"
}
resource "coder_agent" "main" {
os = "linux"
arch = "amd64"
}
resource "null_resource" "dev" {
depends_on = [
coder_agent.main
]
}