Workflow
Workflow Overview​
Workflows in StackGuardian are organized within Workflow Groups, which help group workflows by teams, divisions, or environments. These groups also enable fine control over who can access and manage your workflows.
The primary goal of StackGuardian's deployment interface is to simplify complex deployment processes and enhance operational efficiency. It offers intuitive management of workflow configurations, supporting various workflows such as Terraform, Ansible, Kubernetes, Helm, and more.
Let's walk through each of the tabs and their purpose.
Overview​
This tab provides a comprehensive summary of the workflow.
-
Compliance Checks shows all the enforced policy across this workflow and detailed evaluated results from the last run.
-
Infracost Estimation shows infrastructure cost estimates from the last run, including both speculated and incurred costs. It details the total hourly cost, total monthly cost, and total usage-based resources.
-
Resources provides the summary of the overall resources and their drift status. This includes the total number of resources, drifted resources, last drift detected, and the next scheduled drift. View detailed information about all resources deployed under this workflow.
-
Run workflow using the play button on the top left side. For more details, visit the here.
Runs​
List of all the workflow runs. Clicking on a listed workflow run provides detailed information.
- Logs: Displays detailed logs including workflow run info, enforced policies, sourcing IaC from VCS, gathering artifacts, executing workflow steps, workflow run status, and cleanup logs.
- Errors: Displays errors if the workflow fails during execution.
- Compare Parameters: Select a workflow run to compare parameters with a specific run ID.
- Parameters: View all parameters like revisions, input variables, Terraform configurations, runner options, and deployment environment.
- Compliance Checks: Policy evaluation results from the last run.
- Infracost Estimation: Infrastructure cost estimates from the last run, both speculated and incurred.
- Terraform Plan: Displays the generated Terraform plan for the workflow.
- Provisioned Resources: Summary of all resources and their drift status.
- Comments: Add and send comments across the workflow.
Outputs​
Displays all the workflow outputs, output references, and artifacts.
-
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.
-
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.
Settings​
This tab allows to configure various settings for the workflow here.
-
Source and Parameters: Configure the source, which can be a Git repository or a template, and input variables required for the workflow.
-
Terraform Configuration / Workflow steps: Set Terraform-specific settings and workflow runtime settings for Terraform workflows. For non-Terraform workflows, configure the workflow steps and runtime settings
-
Deployment Environment: Configure the cloud connector and environment variables, specifying the deployment environment for the workflow.
-
Meta: Define workflow metadata such as name, description and tags.