Get Stack

pulumi.get_stack
ActionBusiness appsconnection required

Calls the Pulumi API with the connection's credentials.

Fetch one stack.

Connection

Required
Yes — the node will not save without one
Auth type
Bearer token
Providers
Pulumi
Secret shape
the access token, or {"token": "…"}
Config it needs
base_url
Resolved by
config.connection_id, else node.connection_id

Configuration

3 fields, 3 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
organization
Organization; the call is refused without it.
stringYes———
project
Project; the call is refused without it.
stringYes———
stack
Name of the stack to act on, from pulumi.list_stacks.
stringYes———

Output

One shape.

result

The provider's response object, as returned.

Extra keys beyond the ones listed can appear.

{}

Related Pulumi nodes

See Get Stack run in a workflow.

In a technical demo we add the Pulumi connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.