terraform/internal/command/testdata/test/nested_unknown_values/main.tf
Liam Cervante f8d4664bcd
Add additional validation around unknown and null values in test variables (#33861)
* Add additional validation around unknown values in test variables

* address comments
2023-09-14 09:44:21 +02:00

19 lines
257 B
HCL

variable "input" {
type = object({
one = string,
two = string,
})
}
resource "test_resource" "resource" {
value = var.input.two
}
output "one" {
value = test_resource.resource.id
}
output "two" {
value = test_resource.resource.value
}