Files
coder/coderd/testdata/parameters/variables/main.tf
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
512 B
Terraform
Raw Normal View History

// Base case for workspace tags + parameters.
terraform {
required_providers {
coder = {
source = "coder/coder"
}
docker = {
source = "kreuzwerker/docker"
version = "3.0.2"
}
}
}
variable "one" {
default = "alice"
type = string
}
data "coder_parameter" "variable_values" {
name = "variable_values"
description = "Just to show the variable values"
type = "string"
default = var.one
option {
name = "one"
value = var.one
}
}