mirror of
https://github.com/hashicorp/terraform.git
synced 2026-03-23 02:43:15 -04:00
20 lines
267 B
Terraform
20 lines
267 B
Terraform
|
|
terraform {
|
||
|
|
required_providers {
|
||
|
|
terraform = {
|
||
|
|
source = "terraform.io/builtin/terraform"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "input" {
|
||
|
|
type = string
|
||
|
|
}
|
||
|
|
|
||
|
|
resource "terraform_data" "main" {
|
||
|
|
input = var.input
|
||
|
|
}
|
||
|
|
|
||
|
|
output "output" {
|
||
|
|
value = terraform_data.main.output
|
||
|
|
}
|