Skip to content

Commit

Permalink
Managing templates dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
himsharma01 committed May 17, 2024
1 parent 22ec9dc commit a28721f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ Resources:
sumoAppCW:
Type: Custom::App
Condition: install_app
# DependsOn: sumoApp
DependsOn: sumoApp
Properties:
ServiceToken: !Ref Section3aParentStackLambdaARN
Region: !Ref "AWS::Region"
Expand Down Expand Up @@ -233,7 +233,7 @@ Resources:
sumoOverview:
Type: Custom::App
Condition: install_app
# DependsOn: sumoAppCW
DependsOn: sumoAppCW
Properties:
ServiceToken: !Ref Section3aParentStackLambdaARN
Region: !Ref "AWS::Region"
Expand All @@ -252,6 +252,7 @@ Resources:
sumoMonitorAlerts:
Type: Custom::AlertsMonitor
Condition: install_app
DependsOn: sumoOverview
Properties:
ServiceToken: !Ref Section3aParentStackLambdaARN
Region: !Ref "AWS::Region"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ Resources:

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

sumoRdsMetricsAppStack:
Type: AWS::CloudFormation::Stack
DependsOn: sumoAlbMetricsAppStack
Properties:
TemplateURL: !Sub
- "https://${BucketName}.s3.amazonaws.com/aws-observability-versions/${Version}/rds/rds_app.template.yaml"
Expand Down

0 comments on commit a28721f

Please sign in to comment.