From f1e0ce62ed9fff9b13bb22e71df6570f03fb14dc Mon Sep 17 00:00:00 2001 From: Freddy Tan Date: Wed, 21 Dec 2016 00:41:08 +0800 Subject: [PATCH] 1. add test case --- test/bad_fmt/test.tf | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 test/bad_fmt/test.tf diff --git a/test/bad_fmt/test.tf b/test/bad_fmt/test.tf new file mode 100644 index 0000000..b756909 --- /dev/null +++ b/test/bad_fmt/test.tf @@ -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}" +}