Skip to content

Commit 2e68c21

Browse files
authored
Merge pull request #201 from SumoLogic/sumo_244260
Regression CF testcases fixes for awso 2.9.0
2 parents 9bb1f60 + 69c7bc2 commit 2e68c21

File tree

1 file changed

+40
-49
lines changed

1 file changed

+40
-49
lines changed

aws-observability/templates/test/TestTemplate.yaml

Lines changed: 40 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -110,16 +110,16 @@ Tests:
110110
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources
111111
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.AutoEnableAlbLogEventsInvokePermission
112112
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.AutoEnableAlbLogEventsRuleTrigger
113-
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExistingAWSResourcesLambda
113+
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExisitngAWSResourcesLambda
114114
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableNewAWSResourcesLambda
115-
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableAccessLogsForExistingAWSResources
115+
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.ExistingAWSResources
116116
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.SumoLambdaRole
117117
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources
118118
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.AutoEnableElbLogEventsInvokePermission
119119
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.AutoEnableElbLogEventsRuleTrigger
120-
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExistingAWSResourcesLambda
120+
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExisitngAWSResourcesLambda
121121
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableNewAWSResourcesLambda
122-
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableAccessLogsForExistingAWSResources
122+
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.ExistingAWSResources
123123
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.SumoLambdaRole
124124
- AutoEnableOptions.AutoSubscribeLambdaLogGroupsAWSResources
125125
- AutoEnableOptions.AutoSubscribeLambdaLogGroupsAWSResources.InvokeLambdaConnector
@@ -191,9 +191,9 @@ Tests:
191191
- CreateCommonResources.Namespaces
192192
- CreateCommonResources.LambdaRoleARN
193193
- CreateCommonResources.BucketName
194-
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExistingAWSResourcesLambda
194+
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExisitngAWSResourcesLambda
195195
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableNewAWSResourcesLambda
196-
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExistingAWSResourcesLambda
196+
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExisitngAWSResourcesLambda
197197
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableNewAWSResourcesLambda
198198
- CreateCommonResources.KinesisMetricsRoleARN
199199
- CreateCommonResources.KinesisMetricsDeliveryStreamARN
@@ -435,16 +435,16 @@ Tests:
435435
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources
436436
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.AutoEnableAlbLogEventsInvokePermission
437437
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.AutoEnableAlbLogEventsRuleTrigger
438-
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExistingAWSResourcesLambda
438+
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExisitngAWSResourcesLambda
439439
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableNewAWSResourcesLambda
440-
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableAccessLogsForExistingAWSResources
440+
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.ExistingAWSResources
441441
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.SumoLambdaRole
442442
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources
443443
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.AutoEnableElbLogEventsInvokePermission
444444
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.AutoEnableElbLogEventsRuleTrigger
445-
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExistingAWSResourcesLambda
445+
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExisitngAWSResourcesLambda
446446
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableNewAWSResourcesLambda
447-
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableAccessLogsForExistingAWSResources
447+
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.ExistingAWSResources
448448
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.SumoLambdaRole
449449
- AutoEnableOptions.AutoSubscribeLambdaLogGroupsAWSResources
450450
- AutoEnableOptions.AutoSubscribeLambdaLogGroupsAWSResources.InvokeLambdaConnector
@@ -516,9 +516,9 @@ Tests:
516516
- CreateCommonResources.Namespaces
517517
- CreateCommonResources.LambdaRoleARN
518518
- CreateCommonResources.BucketName
519-
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExistingAWSResourcesLambda
519+
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExisitngAWSResourcesLambda
520520
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableNewAWSResourcesLambda
521-
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExistingAWSResourcesLambda
521+
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExisitngAWSResourcesLambda
522522
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableNewAWSResourcesLambda
523523
- CreateCommonResources.KinesisMetricsRoleARN
524524
- CreateCommonResources.KinesisMetricsDeliveryStreamARN
@@ -772,16 +772,16 @@ Tests:
772772
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources
773773
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.AutoEnableAlbLogEventsInvokePermission
774774
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.AutoEnableAlbLogEventsRuleTrigger
775-
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExistingAWSResourcesLambda
775+
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExisitngAWSResourcesLambda
776776
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableNewAWSResourcesLambda
777-
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableAccessLogsForExistingAWSResources
777+
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.ExistingAWSResources
778778
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.SumoLambdaRole
779779
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources
780780
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.AutoEnableElbLogEventsInvokePermission
781781
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.AutoEnableElbLogEventsRuleTrigger
782-
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExistingAWSResourcesLambda
782+
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExisitngAWSResourcesLambda
783783
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableNewAWSResourcesLambda
784-
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableAccessLogsForExistingAWSResources
784+
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.ExistingAWSResources
785785
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.SumoLambdaRole
786786
- AutoEnableOptions.AutoSubscribeLambdaLogGroupsAWSResources
787787
- AutoEnableOptions.AutoSubscribeLambdaLogGroupsAWSResources.InvokeLambdaConnector
@@ -849,9 +849,9 @@ Tests:
849849
- CreateCommonResources.Namespaces
850850
- CreateCommonResources.LambdaRoleARN
851851
- CreateCommonResources.BucketName
852-
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExistingAWSResourcesLambda
852+
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExisitngAWSResourcesLambda
853853
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableNewAWSResourcesLambda
854-
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExistingAWSResourcesLambda
854+
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExisitngAWSResourcesLambda
855855
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableNewAWSResourcesLambda
856856
- CreateCommonResources.KinesisMetricsRoleARN
857857
- CreateCommonResources.KinesisMetricsDeliveryStreamARN
@@ -1023,6 +1023,10 @@ Tests:
10231023
- AssertType: ResourceExistence
10241024
Assert:
10251025
Resources:
1026+
- LambdaRole
1027+
- LambdaPermission
1028+
- PrimerInvoke
1029+
- TelemetryLambda
10261030
- CreateCommonResources
10271031
- sumoEC2MetricsAppStack
10281032
- sumoAlbMetricsAppStack
@@ -1040,19 +1044,7 @@ Tests:
10401044
- CreateCommonResources.AddRegionField
10411045
- CreateCommonResources.AddNamespaceField
10421046
- CreateCommonResources.AddAccountIdField
1043-
- sumoDynamoDBMetricsAppStack.AddTableNameField
1044-
- sumoAlbMetricsAppStack.AddLoadBalancerField
1045-
- sumoElbMetricsAppStack.AddLoadBalancerNameField
1046-
- sumoLambdaMetricsAppStack.AddFunctionNameField
1047-
- sumoApiGatewayMetricsAppStack.AddApiNameField
1048-
- sumoApiGatewayMetricsAppStack.AddApiIdField
10491047
- sumoApiGatewayMetricsAppStack.MetricRule
1050-
- sumoSNSAppStack.AddTopicNameField
1051-
- sumoSQSAppStack.AddQueueNameField
1052-
- sumoRdsMetricsAppStack.AddDBIdentifierField
1053-
- sumoEC2MetricsAppStack.AddInstanceIdField
1054-
- sumoECSMetricsAppStack.AddClusterNameField
1055-
- sumoElasticCacheMetricsAppStack.AddCacheClusterIdField
10561048
- CreateCommonResources.LambdaRole
10571049
- CreateCommonResources.LambdaHelper
10581050
- CreateCommonResources.AccountCheck
@@ -1062,7 +1054,6 @@ Tests:
10621054
- sumoRdsMetricsAppStack.ClusterMetricRule
10631055
- sumoRdsMetricsAppStack.InstanceMetricRule
10641056
- sumoNlbMetricsAppStack
1065-
- sumoNlbMetricsAppStack.AddLoadBalancerField
10661057
- sumoNlbMetricsAppStack.MetricRule
10671058
- CreateCommonResources.AccountAliasValue
10681059
- RootCauseAppStack.AccountAliasValue
@@ -1771,8 +1762,8 @@ Tests:
17711762
- CreateCommonResources.CloudTrailSource
17721763
- CreateCommonResources.CloudTrailSNSSubscription
17731764
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources
1774-
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExistingAWSResourcesLambda
1775-
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableAccessLogsForExistingAWSResources
1765+
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExisitngAWSResourcesLambda
1766+
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.ExistingAWSResources
17761767
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.SumoLambdaRole
17771768
- sumoAlbMetricsAppStack.SumoALBMetricsUpdateSource
17781769
- sumoRdsMetricsAppStack.ClusterMetricRule
@@ -1819,7 +1810,7 @@ Tests:
18191810
- CreateCommonResources.Namespaces
18201811
- CreateCommonResources.LambdaRoleARN
18211812
- CreateCommonResources.BucketName
1822-
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExistingAWSResourcesLambda
1813+
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExisitngAWSResourcesLambda
18231814
- sumoLambdaMetricsAppStack.ExistingCloudWatchLogSourceName
18241815
- sumoAlbMetricsAppStack.ExistingMetricSourceName
18251816
- CreateCommonResources.CollectorName
@@ -1989,8 +1980,8 @@ Tests:
19891980
- CreateCommonResources.CloudTrailSource
19901981
- CreateCommonResources.CloudTrailSNSSubscription
19911982
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources
1992-
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExistingAWSResourcesLambda
1993-
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableAccessLogsForExistingAWSResources
1983+
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExisitngAWSResourcesLambda
1984+
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.ExistingAWSResources
19941985
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.SumoLambdaRole
19951986
- sumoRdsMetricsAppStack.ClusterMetricRule
19961987
- sumoRdsMetricsAppStack.InstanceMetricRule
@@ -2039,7 +2030,7 @@ Tests:
20392030
- CreateCommonResources.LambdaRoleARN
20402031
- CreateCommonResources.BucketName
20412032
- sumoAlbMetricsAppStack.ExistingMetricSourceName
2042-
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExistingAWSResourcesLambda
2033+
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExisitngAWSResourcesLambda
20432034
- sumoLambdaMetricsAppStack.ExistingCloudWatchLogSourceName
20442035
- CreateCommonResources.CollectorName
20452036
- CreateCommonResources.AccountAlias
@@ -2428,9 +2419,9 @@ Tests:
24282419
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources
24292420
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.AutoEnableAlbLogEventsInvokePermission
24302421
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.AutoEnableAlbLogEventsRuleTrigger
2431-
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExistingAWSResourcesLambda
2422+
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExisitngAWSResourcesLambda
24322423
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableNewAWSResourcesLambda
2433-
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableAccessLogsForExistingAWSResources
2424+
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.ExistingAWSResources
24342425
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.SumoLambdaRole
24352426
- sumoEC2MetricsAppStack.sumoApp
24362427
- sumoEC2MetricsAppStack.sumoOverview
@@ -2508,7 +2499,7 @@ Tests:
25082499
- CreateCommonResources.LambdaRoleARN
25092500
- sumoLambdaMetricsAppStack.ExistingCloudTrailLogSourceName
25102501
- sumoAlbMetricsAppStack.ExistingLogSourceName
2511-
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExistingAWSResourcesLambda
2502+
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExisitngAWSResourcesLambda
25122503
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableNewAWSResourcesLambda
25132504
- CreateCommonResources.KinesisMetricsRoleARN
25142505
- CreateCommonResources.KinesisMetricsDeliveryStreamARN
@@ -2688,9 +2679,9 @@ Tests:
26882679
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources
26892680
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.AutoEnableElbLogEventsInvokePermission
26902681
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.AutoEnableElbLogEventsRuleTrigger
2691-
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExistingAWSResourcesLambda
2682+
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExisitngAWSResourcesLambda
26922683
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableNewAWSResourcesLambda
2693-
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableAccessLogsForExistingAWSResources
2684+
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.ExistingAWSResources
26942685
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.SumoLambdaRole
26952686
- sumoEC2MetricsAppStack.sumoApp
26962687
- sumoEC2MetricsAppStack.sumoOverview
@@ -2768,7 +2759,7 @@ Tests:
27682759
- CreateCommonResources.LambdaRoleARN
27692760
- sumoLambdaMetricsAppStack.ExistingCloudTrailLogSourceName
27702761
- sumoElbMetricsAppStack.ExistingLogSourceName
2771-
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExistingAWSResourcesLambda
2762+
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExisitngAWSResourcesLambda
27722763
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableNewAWSResourcesLambda
27732764
- CreateCommonResources.KinesisMetricsRoleARN
27742765
- CreateCommonResources.KinesisMetricsDeliveryStreamARN
@@ -3269,16 +3260,16 @@ Tests:
32693260
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources
32703261
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.AutoEnableAlbLogEventsInvokePermission
32713262
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.AutoEnableAlbLogEventsRuleTrigger
3272-
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExistingAWSResourcesLambda
3263+
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExisitngAWSResourcesLambda
32733264
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableNewAWSResourcesLambda
3274-
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableAccessLogsForExistingAWSResources
3265+
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.ExistingAWSResources
32753266
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.SumoLambdaRole
32763267
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources
32773268
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.AutoEnableElbLogEventsInvokePermission
32783269
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.AutoEnableElbLogEventsRuleTrigger
3279-
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExistingAWSResourcesLambda
3270+
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExisitngAWSResourcesLambda
32803271
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableNewAWSResourcesLambda
3281-
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableAccessLogsForExistingAWSResources
3272+
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.ExistingAWSResources
32823273
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.SumoLambdaRole
32833274
- AutoEnableOptions.AutoSubscribeLambdaLogGroupsAWSResources
32843275
- AutoEnableOptions.AutoSubscribeLambdaLogGroupsAWSResources.InvokeLambdaConnector
@@ -3354,9 +3345,9 @@ Tests:
33543345
- CreateCommonResources.Namespaces
33553346
- CreateCommonResources.LambdaRoleARN
33563347
- CreateCommonResources.BucketName
3357-
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExistingAWSResourcesLambda
3348+
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExisitngAWSResourcesLambda
33583349
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableNewAWSResourcesLambda
3359-
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExistingAWSResourcesLambda
3350+
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExisitngAWSResourcesLambda
33603351
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableNewAWSResourcesLambda
33613352
- CreateCommonResources.KinesisMetricsRoleARN
33623353
- CreateCommonResources.KinesisMetricsDeliveryStreamARN

0 commit comments

Comments
 (0)