Run block variable references (#1129)

Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
This commit is contained in:
Christian Mesh
2024-01-17 06:57:14 -05:00
committed by GitHub
parent 4961996f51
commit 249ed42fb1
6 changed files with 72 additions and 6 deletions

View File

@@ -0,0 +1,15 @@
variables {
content = "some value"
}
run "setup" {
module {
source = "./setup"
}
}
run "test" {
variables {
file_name = run.setup.file_name
}
}

View File

@@ -0,0 +1,7 @@
variable "content" {
type = string
}
output "file_name" {
value = "output_value"
}