Stacks

GetStackOutputs

Returns the outputs of a stack without the rest of its state. The outputs are those recorded by the stack's most recent completed update, so an update that is currently in progress does not affect the response. Secret output values are returned in the secret object representation the ExportStack endpoint uses, exactly as stored, together with the stack's secrets provider. Treat every secret output as sensitive. A stack with no state returns no outputs.

get/api/stacks/{orgName}/{projectName}/{stackName}/outputs

Request

  • Base URL: https://api.pulumi.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pulumi.com/api/stacks/{orgName}/{projectName}/{stackName}/outputs
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

projectNamestring required

The project name

stackNamestring required

The stack name

Response

OK

outputsobject

The stack's outputs, keyed by output name, exactly as stored in the stack's state. Secret values use the same secret object representation as exported stack state and are returned exactly as stored; resolve them with the secrets provider in 'secretsProviders' and treat them as sensitive. Absent when the stack has no state.

Changes

No recorded changes to this operation across all 1 revision of this API.