mirror of
https://github.com/hashicorp/terraform.git
synced 2026-03-22 10:31:22 -04:00
13 lines
199 B
HCL
13 lines
199 B
HCL
variable "name" {
|
|
type = string
|
|
}
|
|
|
|
resource "terraform_data" "example" {
|
|
input = {
|
|
message = "Hello, ${var.name}!"
|
|
}
|
|
}
|
|
|
|
output "greeting" {
|
|
value = terraform_data.example.input.message
|
|
}
|