Skip to content

Ability to get Stack Outputs as a Data Source #504

Open
@ikegentz

Description

@ikegentz

It would be great to have a way to get the outputs from other stacks with a data source.

For example:

data "spacelift_stack_output" "other_stack_output" {
  stack = "some other stack"
  key   = "output key"
}

Right now I'm not aware of a way to do this short of running a null_resource and querying the graphQL API directly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions