terraform/internal/stacks/stackruntime/testdata/mainbundle/test/plan-variable-defaults/plan-variable-default.tfcomponent.hcl
Liam Cervante a80220dcc9
stacks: rename .tfstack files to .tfcomponent (#37013)
* stacks: rename .tfstack files to .tfcomponent

* fix consistency issues
2025-05-15 08:33:13 +02:00

31 lines
398 B
HCL

variable "beep" {
type = string
default = "BEEP"
}
output "beep" {
type = string
value = var.beep
}
stack "specified" {
source = "./child"
inputs = {
boop = var.beep
}
}
stack "defaulted" {
source = "./child"
inputs = {}
}
output "specified" {
type = string
value = stack.specified.result
}
output "defaulted" {
type = string
value = stack.defaulted.result
}