open-vault/enos/modules/vault_test_ui/outputs.tf
Hamid Ghaf 27bb03bbc0
adding copyright header (#19555)
* adding copyright header

* fix fmt and a test
2023-03-15 09:00:52 -07:00

16 lines
525 B
HCL

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
output "ui_test_stderr" {
value = var.ui_run_tests ? enos_local_exec.test_ui[0].stderr : "No std out tests where not run"
}
output "ui_test_stdout" {
value = var.ui_run_tests ? enos_local_exec.test_ui[0].stdout : "No std out tests where not run"
}
output "ui_test_environment" {
value = join(" \\ \n", local.escaped_ui_test_environment)
description = "The environment variables that are required in order to run the test:enos yarn target"
}