mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-20 11:48:24 -06:00
This test is intended to be an easy-to-maintain catalog of good examples that we can use to catch certain parsing or decoding regressions easily. It's not a fully-comprehensive test since it doesn't check the result of decoding, instead just accepting any decode that completes without errors. However, an easy-to-maintain test like this is a good complement to some more specialized tests since we can easily collect good examples over time and just add them in here.
26 lines
302 B
HCL
26 lines
302 B
HCL
|
|
output "foo" {
|
|
value = "hello"
|
|
}
|
|
|
|
output "bar" {
|
|
value = local.bar
|
|
}
|
|
|
|
output "baz" {
|
|
value = "ssshhhhhhh"
|
|
sensitive = true
|
|
}
|
|
|
|
output "cheeze_pizza" {
|
|
description = "Nothing special"
|
|
value = "🍕"
|
|
}
|
|
|
|
output "π" {
|
|
value = 3.14159265359
|
|
depends_on = [
|
|
pizza.cheese,
|
|
]
|
|
}
|