Skip to content

Commit a28721f

Browse files
committed
Managing templates dependencies
1 parent 22ec9dc commit a28721f

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

aws-observability/apps/ec2metrics/ec2_metrics_app.template.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ Resources:
182182
sumoAppCW:
183183
Type: Custom::App
184184
Condition: install_app
185-
# DependsOn: sumoApp
185+
DependsOn: sumoApp
186186
Properties:
187187
ServiceToken: !Ref Section3aParentStackLambdaARN
188188
Region: !Ref "AWS::Region"
@@ -233,7 +233,7 @@ Resources:
233233
sumoOverview:
234234
Type: Custom::App
235235
Condition: install_app
236-
# DependsOn: sumoAppCW
236+
DependsOn: sumoAppCW
237237
Properties:
238238
ServiceToken: !Ref Section3aParentStackLambdaARN
239239
Region: !Ref "AWS::Region"
@@ -252,6 +252,7 @@ Resources:
252252
sumoMonitorAlerts:
253253
Type: Custom::AlertsMonitor
254254
Condition: install_app
255+
DependsOn: sumoOverview
255256
Properties:
256257
ServiceToken: !Ref Section3aParentStackLambdaARN
257258
Region: !Ref "AWS::Region"

aws-observability/templates/sumologic_observability.master.template.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ Resources:
559559

560560
sumoEC2MetricsAppStack:
561561
Type: AWS::CloudFormation::Stack
562-
DependsOn: sumoAlbMetricsAppStack
562+
DependsOn: sumoNlbMetricsAppStack
563563
Properties:
564564
TemplateURL: !Sub
565565
- "https://${BucketName}.s3.amazonaws.com/aws-observability-versions/${Version}/ec2metrics/ec2_metrics_app.template.yaml"
@@ -656,6 +656,7 @@ Resources:
656656

657657
sumoRdsMetricsAppStack:
658658
Type: AWS::CloudFormation::Stack
659+
DependsOn: sumoAlbMetricsAppStack
659660
Properties:
660661
TemplateURL: !Sub
661662
- "https://${BucketName}.s3.amazonaws.com/aws-observability-versions/${Version}/rds/rds_app.template.yaml"

0 commit comments

Comments
 (0)