Skip to main content

Outputs

Displays all the workflow outputs, output references, and artifacts.

  1. Output Reference: Provides names, types, and values of outputs generated by the workflow. Useful for subsequent steps or integration with other systems. Click on the settings icon to edit values or "Show JSON" to view references in JSON format.

  2. Artifacts: Files generated or used by the workflow, such as Terraform state files and logs. Essential for preserving deployment state and history, enabling rollback, debugging, and auditing. You can upload new artifacts like tfstate.json or download existing ones for review.

workflow-view Output

Workflow Output Referencing​

StackGuardian allows referencing of outputs between workflows. Outputs can be referenced inside VCS configuration and in Environment Variables of a workflow using the syntax below.

Terraform Workflow​

${workflow::<WORKFLOW_GROUP_NAME>.<WORKFLOW_NAME>.outputs.<VARIABLE_NAME>.value}
  • Example syntax to a Stack which is a set of workflows that are closely associated with each other, reference a value from workflow outputs under the STACK as follows,
${workflow::<WORKFLOW_GROUP_NAME>.<STACK_NAME>.<WORKFLOW_NAME>.outputs.<VARIABLE_NAME>.value}
  • Example syntax to reference an element inside an array value generated by Terraform workflow
${workflow::<WORKFLOW_GROUP_NAME>.<WORKFLOW_NAME>.outputs.<VARIABLE_NAME>.value.1}

Custom Workflow​

  • Example syntax to reference a value from the outputs generated by Custom workflow
${workflow::<WORKFLOW_GROUP_NAME>.<WORKFLOW_NAME>.outputs.<VARIABLE_NAME>}

Nested Workflows​

To reference outputs from Workflows in a nested Workflow Groups or Stack, add the path to the Workflow Group as follows:

${workflow::<PARENT_WORKFLOW_GROUP_ID>/<WORKFLOW_GROUP_ID>.<WORKFLOW_ID>.<OUTPUT_KEY>}