mirror of
https://github.com/hashicorp/terraform.git
synced 2026-04-28 09:36:50 -04:00
20 lines
235 B
HCL
20 lines
235 B
HCL
|
|
stack "sensitive" {
|
||
|
|
source = "../sensitive-output"
|
||
|
|
|
||
|
|
inputs = {
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
component "self" {
|
||
|
|
source = "./"
|
||
|
|
|
||
|
|
inputs = {
|
||
|
|
secret = stack.sensitive.result
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
output "result" {
|
||
|
|
type = string
|
||
|
|
value = component.self.result
|
||
|
|
}
|