https://pulumi.com logo
#yaml
Title
# yaml
m

millions-furniture-75402

05/05/2023, 12:59 PM
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"]}