mirror of
https://github.com/hashicorp/terraform.git
synced 2026-03-22 10:31:22 -04:00
12 lines
147 B
Terraform
12 lines
147 B
Terraform
|
|
variable "input" {
|
||
|
|
type = string
|
||
|
|
}
|
||
|
|
|
||
|
|
resource "test_resource" "foo" {
|
||
|
|
value = var.input
|
||
|
|
}
|
||
|
|
|
||
|
|
output "value" {
|
||
|
|
value = test_resource.foo.value
|
||
|
|
}
|