/
githubmirror
/
terraform
Обзор
Документация
Войти
/
githubmirror
/
terraform
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
internal/command/testdata/test/complex_condition/main.tf
58 строк
738 B
Samsondeen
Produce detailed diagnostic objects when test run assertions fail (#36522)
03 мар 2025, 17:46
Не верифицирован
03 мар 2025, 17:46
1bd312f
Код
Авторство
О чём код?
resource "test_resource" "foo" { value = "bar" } output "foo" { value = { bar = "notbaz" qux = "quux" matches = "matches" xuq = "xuq" } } variable "sample" { type = list(object({ bar = tuple([number]) qux = string })) default = [ { bar = [1] qux = "quux" }, { bar = [2] qux = "quux" }] } variable "sample_sensitive" { sensitive = true type = list(object({ bar = tuple([number]) qux = string })) default = [ { bar = [1] qux = "quux" }, { bar = [2] qux = "quux_sensitive" }] } output "complex" { value = { root = var.sample } } output "complex_sensitive" { sensitive = true value = { root = var.sample_sensitive } }