18 lines
235 B
HCL
18 lines
235 B
HCL
variable "a" {}
|
|
variable "b" {
|
|
default = "test"
|
|
}
|
|
variable "c" {
|
|
type = list
|
|
default = ["foo", "bar", "baz"]
|
|
}
|
|
|
|
output "ov1" {
|
|
value = "${var.a}"
|
|
}
|
|
output "ov2" {
|
|
value = "${var.b}"
|
|
}
|
|
output "ov3" {
|
|
value = "${var.c[2]}"
|
|
}
|