1
0
Fork 0
terraform-training/project2/base.tf

19 lines
235 B
Terraform
Raw Normal View History

2020-05-12 10:36:59 +02:00
variable "a" {}
variable "b" {
default = "test"
}
2020-05-12 11:36:42 +02:00
variable "c" {
type = list
default = ["foo", "bar", "baz"]
}
2020-05-12 10:36:59 +02:00
output "ov1" {
value = "${var.a}"
}
output "ov2" {
value = "${var.b}"
}
2020-05-12 11:36:42 +02:00
output "ov3" {
value = "${var.c[2]}"
}