mirror of
https://github.com/hashicorp/terraform.git
synced 2026-03-09 09:50:42 -04:00
19 lines
257 B
HCL
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
|
|
}
|