Skip to content

Latest commit

 

History

History
45 lines (24 loc) · 2.94 KB

File metadata and controls

45 lines (24 loc) · 2.94 KB
graph LR
    sceptre_plan_plan["sceptre.plan.plan"]
    sceptre_plan_executor["sceptre.plan.executor"]
    sceptre_plan_actions["sceptre.plan.actions"]
    sceptre_plan_plan -- "delegates plan to" --> sceptre_plan_executor
    sceptre_plan_executor -- "delegates calls to" --> sceptre_plan_actions
Loading

CodeBoardingDemoContact

Details

The Core Orchestration Engine subsystem is bounded by the sceptre.plan package, specifically encompassing the plan, executor, and actions modules. This subsystem is responsible for the entire lifecycle management of AWS CloudFormation stacks, from dependency resolution to the execution of AWS API operations.

sceptre.plan.plan

This component serves as the strategic brain of the orchestration engine. It is responsible for constructing the overall execution plan for CloudFormation stack operations. This involves analyzing stack dependencies, determining the correct order of operations (e.g., create, update, delete), and preparing the high-level instructions for the executor. It acts as the primary interface for high-level stack commands initiated by the CLI.

Related Classes/Methods:

sceptre.plan.executor

This component acts as the tactical manager, receiving the detailed execution plan from sceptre.plan.plan. Its primary role is to manage the sequential execution of individual stack operations. It orchestrates the flow, ensuring each step of the plan is processed in the correct order, and delegates the actual low-level CloudFormation API calls to the sceptre.plan.actions component.

Related Classes/Methods:

sceptre.plan.actions

This component is the operational arm, encapsulating all direct interactions with the AWS CloudFormation API. It provides atomic operations for managing stacks, including creating, updating, deleting, managing change sets, and detecting drift. It handles low-level details such as waiting for operation completion, checking stack statuses, protecting execution, and formatting parameters for AWS API calls.

Related Classes/Methods: