mirror of
https://github.com/hashicorp/terraform.git
synced 2026-03-22 18:33:08 -04:00
18 lines
218 B
HCL
18 lines
218 B
HCL
|
|
variable "msg" {
|
||
|
|
type = string
|
||
|
|
default = "default"
|
||
|
|
}
|
||
|
|
|
||
|
|
stack "child" {
|
||
|
|
source = "../variable-output-roundtrip"
|
||
|
|
|
||
|
|
inputs = {
|
||
|
|
msg = var.msg
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
output "msg" {
|
||
|
|
type = string
|
||
|
|
value = stack.child.msg
|
||
|
|
}
|