Skip to main content

Stack Upgrade

Upgrading a stack within StackGuardian ensures your infrastructure deployments are always aligned with the latest configurations and workflows. Follow the structured steps below to efficiently upgrade your stack:


Steps to Create Stack​

Step 1: Access the Stack Editor​

  • Navigate to the Stacks tab in the Workflow Group.
  • Click the Edit button at the top-right corner of the stack overview to begin the upgrade process.

Step 1


Step 2: Basic Configuration​

  • In the Basic Configuration section:
    • Update Stack Name, Description, or Tags if required.
    • Modify the IAC Group Revision to upgrade or downgrade the associated IAC templates.

Click Next to proceed.

Step 2


Step 3: Select Operations​

  • Review the listed workflows.
  • Choose the desired operation for each workflow:
    • Add Workflow: Incorporate a new workflow into the stack.
    • Remove Workflow: Delete an existing workflow.
    • Update Workflow: Modify or upgrade an existing workflow.
note

Operations Overview

  • + Add Workflow: Add new workflows into the existing stack.
  • - Remove Workflow: Remove workflows no longer needed in the stack.
  • ↑ Update Workflow: Modify or upgrade workflows to their latest versions.

Click Next to proceed.

Step 3


Step 4: Perform Operations​

  • For each workflow, configure the following settings:
    • Meta: Update the workflow name, description, and runner constraints.
    • Target Platform and Environment Variables: Define cloud platform specifics and secure variables.
    • VCS Settings: Update version control details.
    • Terraform Settings: Adjust Terraform configurations.
    • Schedules: Modify scheduling preferences.
note

Add New Actions

  • You can create custom actions by selecting the Add New Action button. For example, adding a "Security Scan" before deployment can enhance security assessments.

Click Next when done.

Step 4


Step 5: Configure Execution Order​

  • Rearrange the workflows in the Current Order and New Order views using drag-and-drop.
  • Adjust both Create and Destroy sequences for workflows if required.

Click Submit to finalize.

Step 5


Step 6: Finalize and Submit​

  • After reviewing all configurations, click Submit to complete the stack upgrade process.
  • A confirmation message will appear, indicating the successful update of the stack.

Step 6


This ensures your stack remains up-to-date with the latest templates, configurations, and workflow sequences, enhancing the efficiency of your infrastructure deployment strategies.