You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note over Deployer: Show complete diff:<br/>- Template changes<br/>- Parameter changes<br/>- Tag changes<br/>- Resource impacts
243
-
243
+
244
244
Deployer->>Prompt: Confirm("Apply changes?")
245
245
Prompt->>User: Interactive confirmation
246
246
User->>Prompt: Yes/No
247
247
Prompt->>Deployer: Confirmation result
248
-
248
+
249
249
alt User Confirms
250
250
Deployer->>AWS: ExecuteChangeSet(changeSetID)
251
251
AWS->>Deployer: Execution started
@@ -350,36 +350,36 @@ graph TD
350
350
B -->|Error| C[AWS Connection Error]
351
351
B -->|No| D[New Stack Path]
352
352
B -->|Yes| E[Changeset Path]
353
-
353
+
354
354
D --> F{Template Valid?}
355
355
F -->|No| G[Template Validation Error]
356
356
F -->|Yes| H[Show Preview]
357
-
357
+
358
358
E --> I{Generate Changeset}
359
359
I -->|Error| J[Changeset Creation Error]
360
360
I -->|Success| K{Has Changes?}
361
-
361
+
362
362
K -->|No| L[No Changes - Exit Clean]
363
363
K -->|Yes| M[Show Changes]
364
-
364
+
365
365
H --> N{User Confirms?}
366
366
M --> N
367
367
N -->|No| O[User Cancelled]
368
368
N -->|Yes| P[Execute Deployment]
369
-
369
+
370
370
P --> Q{Deployment Success?}
371
371
Q -->|Yes| R[Success - Cleanup Resources]
372
372
Q -->|No| S[Deployment Failed]
373
-
373
+
374
374
C --> T[Log AWS Error + Exit]
375
375
G --> U[Log Template Error + Exit]
376
376
J --> V[Log Changeset Error + Exit]
377
377
O --> W[Log Cancellation + Exit]
378
378
S --> X[Log Deployment Error + Exit]
379
-
379
+
380
380
L --> Y[Exit Success]
381
381
R --> Y
382
-
382
+
383
383
T --> Z[Error Exit Code]
384
384
U --> Z
385
385
V --> Z
@@ -425,12 +425,12 @@ graph TB
425
425
D[Progress Monitoring<br/>Real-time Feedback]
426
426
E[Resource Cleanup<br/>Automatic Tidying]
427
427
end
428
-
428
+
429
429
subgraph "Deployment Types"
430
430
F[New Stack Creation]
431
431
G[Existing Stack Updates]
432
432
end
433
-
433
+
434
434
A --> F
435
435
A --> G
436
436
B --> G
@@ -500,21 +500,21 @@ graph LR
500
500
C[Error Handling Tests]
501
501
D[Template Validation Tests]
502
502
end
503
-
503
+
504
504
subgraph "Integration Tests"
505
505
E[AWS Client Integration]
506
506
F[Diff Engine Integration]
507
507
G[Prompt System Integration]
508
508
H[End-to-End Deploy Tests]
509
509
end
510
-
510
+
511
511
subgraph "Mock Infrastructure"
512
512
I[Mock AWS Client]
513
513
J[Mock Diff Engine]
514
514
K[Mock Prompt System]
515
515
L[Mock Stack Resolver]
516
516
end
517
-
517
+
518
518
A --> I
519
519
B --> I
520
520
C --> I
@@ -587,16 +587,16 @@ sequenceDiagram
587
587
participant D as Deployer
588
588
participant AWS as AWS CloudFormation
589
589
participant UI as User Interface
590
-
590
+
591
591
D->>AWS: Start deployment operation
592
592
AWS->>D: Operation initiated
593
-
593
+
594
594
loop Event Streaming
595
595
AWS->>D: StackEvent
596
596
D->>UI: Formatted progress update
597
597
Note over UI: Timestamp: 15:04:05<br/>AWS::S3::Bucket: CREATE_IN_PROGRESS<br/>MyBucket
598
598
end
599
-
599
+
600
600
AWS->>D: Operation complete
601
601
D->>UI: Final status
602
602
```
@@ -689,19 +689,13 @@ sequenceDiagram
689
689
- Deployment approval workflows
690
690
- Integration with external approval systems
691
691
692
-
4.**Multi-Cloud Support**
693
-
- Terraform provider integration
694
-
- Azure Resource Manager support
695
-
- Google Cloud Deployment Manager support
696
-
- Cross-cloud dependency management
697
-
698
692
### Extension Points
699
693
700
694
The architecture provides clear extension points through interfaces:
701
695
702
696
-`Deployer` interface - Alternative deployment engines
703
697
- Event callback system - Custom progress monitoring
704
-
- Confirmation system - Integration with external approval workflows
698
+
- Confirmation system - Integration with external approval workflows
705
699
- Template validation - Custom validation rules and policies
706
700
707
701
### Architectural Principles for Extensions
@@ -712,4 +706,4 @@ The architecture provides clear extension points through interfaces:
712
706
4.**Error Context Preservation** - Rich error information without data exposure
713
707
5.**Resource Lifecycle Management** - Automatic cleanup and resource management
714
708
715
-
This modular design ensures the deployment functionality can evolve to support complex enterprise requirements while maintaining simplicity for basic use cases.
709
+
This modular design ensures the deployment functionality can evolve to support complex enterprise requirements while maintaining simplicity for basic use cases.
0 commit comments