mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
* command/show: added test scaffold for json output More test cases will be added once the basic shape of the tests is validated. - command/json* packages now sort resources by address, matching behavior elsewhere - using cmp in tests instead of reflect.DeepEqual for the diffs - updating expected output in tests to match sorting
10 lines
146 B
HCL
10 lines
146 B
HCL
variable "test_var" {
|
|
default = "bar"
|
|
}
|
|
resource "test_instance" "test" {
|
|
ami = var.test_var
|
|
}
|
|
|
|
output "test" {
|
|
value = var.test_var
|
|
} |