How can I use Stack Reference with YAML (can I?)
# yaml
m
How can I use Stack Reference with YAML (can I?)
What does this even mean?
The expression
${reference}
will have the value of the
outputName
output from the stack
org/project/stack
.
https://www.pulumi.com/docs/reference/yaml/
Copy code
resources:
  my-stack-reference:
    type: pulumi:pulumi:StackReference
    properties:
      name: acmecorp/infra/other

variables:
  stack_output: ${my-stack-reference.outputs["x"]}