1. add test case
This commit is contained in:
parent
211e73a109
commit
f1e0ce62ed
1 changed files with 31 additions and 0 deletions
31
test/bad_fmt/test.tf
Normal file
31
test/bad_fmt/test.tf
Normal file
|
@ -0,0 +1,31 @@
|
|||
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}"
|
||||
}
|
Loading…
Reference in a new issue