2d63fa8716
2. refactor to be able to accept command as a instance attribute 3. add test cases
31 lines
405 B
HCL
31 lines
405 B
HCL
variable "test_var" {
|
|
default = ""
|
|
}
|
|
|
|
provider "archive" {}
|
|
|
|
variable "test_list_var" {
|
|
type = "list"
|
|
default = ["a", "b"]
|
|
}
|
|
|
|
variable "test_map_var" {
|
|
type = "map"
|
|
|
|
default = {
|
|
"a" = "a"
|
|
"b" = "b"
|
|
}
|
|
}
|
|
|
|
output "test_output" {
|
|
value = "${var.test_var}"
|
|
}
|
|
|
|
output "test_list_output" {
|
|
value = "${var.test_list_var}"
|
|
}
|
|
|
|
output "test_map_output" {
|
|
value = "${var.test_map_var}"
|
|
}
|