terraform/internal/stacks/stackruntime/testdata/mainbundle/test/plan-undeclared-variable-in-component/with-single-input.tf
Liam Cervante 3475d22741
Fix nil pointer exception when planning stacks with undeclared variables (#34638)
* fix nil pointer exception when planning with undeclared variables

* another function does the same
2024-02-12 17:24:15 +01:00

19 lines
267 B
HCL

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
}