Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression CF testcases fixes for awso 2.9.0 #201

Merged
merged 1 commit into from
Jul 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
89 changes: 40 additions & 49 deletions aws-observability/templates/test/TestTemplate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,16 +110,16 @@ Tests:
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.AutoEnableAlbLogEventsInvokePermission
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.AutoEnableAlbLogEventsRuleTrigger
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExistingAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExisitngAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableNewAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableAccessLogsForExistingAWSResources
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.ExistingAWSResources
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.SumoLambdaRole
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.AutoEnableElbLogEventsInvokePermission
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.AutoEnableElbLogEventsRuleTrigger
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExistingAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExisitngAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableNewAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableAccessLogsForExistingAWSResources
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.ExistingAWSResources
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.SumoLambdaRole
- AutoEnableOptions.AutoSubscribeLambdaLogGroupsAWSResources
- AutoEnableOptions.AutoSubscribeLambdaLogGroupsAWSResources.InvokeLambdaConnector
Expand Down Expand Up @@ -191,9 +191,9 @@ Tests:
- CreateCommonResources.Namespaces
- CreateCommonResources.LambdaRoleARN
- CreateCommonResources.BucketName
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExistingAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExisitngAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableNewAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExistingAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExisitngAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableNewAWSResourcesLambda
- CreateCommonResources.KinesisMetricsRoleARN
- CreateCommonResources.KinesisMetricsDeliveryStreamARN
Expand Down Expand Up @@ -435,16 +435,16 @@ Tests:
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.AutoEnableAlbLogEventsInvokePermission
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.AutoEnableAlbLogEventsRuleTrigger
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExistingAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExisitngAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableNewAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableAccessLogsForExistingAWSResources
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.ExistingAWSResources
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.SumoLambdaRole
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.AutoEnableElbLogEventsInvokePermission
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.AutoEnableElbLogEventsRuleTrigger
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExistingAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExisitngAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableNewAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableAccessLogsForExistingAWSResources
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.ExistingAWSResources
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.SumoLambdaRole
- AutoEnableOptions.AutoSubscribeLambdaLogGroupsAWSResources
- AutoEnableOptions.AutoSubscribeLambdaLogGroupsAWSResources.InvokeLambdaConnector
Expand Down Expand Up @@ -516,9 +516,9 @@ Tests:
- CreateCommonResources.Namespaces
- CreateCommonResources.LambdaRoleARN
- CreateCommonResources.BucketName
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExistingAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExisitngAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableNewAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExistingAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExisitngAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableNewAWSResourcesLambda
- CreateCommonResources.KinesisMetricsRoleARN
- CreateCommonResources.KinesisMetricsDeliveryStreamARN
Expand Down Expand Up @@ -772,16 +772,16 @@ Tests:
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.AutoEnableAlbLogEventsInvokePermission
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.AutoEnableAlbLogEventsRuleTrigger
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExistingAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExisitngAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableNewAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableAccessLogsForExistingAWSResources
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.ExistingAWSResources
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.SumoLambdaRole
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.AutoEnableElbLogEventsInvokePermission
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.AutoEnableElbLogEventsRuleTrigger
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExistingAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExisitngAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableNewAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableAccessLogsForExistingAWSResources
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.ExistingAWSResources
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.SumoLambdaRole
- AutoEnableOptions.AutoSubscribeLambdaLogGroupsAWSResources
- AutoEnableOptions.AutoSubscribeLambdaLogGroupsAWSResources.InvokeLambdaConnector
Expand Down Expand Up @@ -849,9 +849,9 @@ Tests:
- CreateCommonResources.Namespaces
- CreateCommonResources.LambdaRoleARN
- CreateCommonResources.BucketName
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExistingAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExisitngAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableNewAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExistingAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExisitngAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableNewAWSResourcesLambda
- CreateCommonResources.KinesisMetricsRoleARN
- CreateCommonResources.KinesisMetricsDeliveryStreamARN
Expand Down Expand Up @@ -1023,6 +1023,10 @@ Tests:
- AssertType: ResourceExistence
Assert:
Resources:
- LambdaRole
- LambdaPermission
- PrimerInvoke
- TelemetryLambda
- CreateCommonResources
- sumoEC2MetricsAppStack
- sumoAlbMetricsAppStack
Expand All @@ -1040,19 +1044,7 @@ Tests:
- CreateCommonResources.AddRegionField
- CreateCommonResources.AddNamespaceField
- CreateCommonResources.AddAccountIdField
- sumoDynamoDBMetricsAppStack.AddTableNameField
akhil-sumologic marked this conversation as resolved.
Show resolved Hide resolved
- sumoAlbMetricsAppStack.AddLoadBalancerField
- sumoElbMetricsAppStack.AddLoadBalancerNameField
- sumoLambdaMetricsAppStack.AddFunctionNameField
- sumoApiGatewayMetricsAppStack.AddApiNameField
- sumoApiGatewayMetricsAppStack.AddApiIdField
- sumoApiGatewayMetricsAppStack.MetricRule
- sumoSNSAppStack.AddTopicNameField
- sumoSQSAppStack.AddQueueNameField
- sumoRdsMetricsAppStack.AddDBIdentifierField
- sumoEC2MetricsAppStack.AddInstanceIdField
- sumoECSMetricsAppStack.AddClusterNameField
- sumoElasticCacheMetricsAppStack.AddCacheClusterIdField
- CreateCommonResources.LambdaRole
- CreateCommonResources.LambdaHelper
- CreateCommonResources.AccountCheck
Expand All @@ -1062,7 +1054,6 @@ Tests:
- sumoRdsMetricsAppStack.ClusterMetricRule
- sumoRdsMetricsAppStack.InstanceMetricRule
- sumoNlbMetricsAppStack
- sumoNlbMetricsAppStack.AddLoadBalancerField
- sumoNlbMetricsAppStack.MetricRule
- CreateCommonResources.AccountAliasValue
- RootCauseAppStack.AccountAliasValue
Expand Down Expand Up @@ -1771,8 +1762,8 @@ Tests:
- CreateCommonResources.CloudTrailSource
- CreateCommonResources.CloudTrailSNSSubscription
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExistingAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableAccessLogsForExistingAWSResources
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExisitngAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.ExistingAWSResources
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.SumoLambdaRole
- sumoAlbMetricsAppStack.SumoALBMetricsUpdateSource
- sumoRdsMetricsAppStack.ClusterMetricRule
Expand Down Expand Up @@ -1819,7 +1810,7 @@ Tests:
- CreateCommonResources.Namespaces
- CreateCommonResources.LambdaRoleARN
- CreateCommonResources.BucketName
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExistingAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExisitngAWSResourcesLambda
- sumoLambdaMetricsAppStack.ExistingCloudWatchLogSourceName
- sumoAlbMetricsAppStack.ExistingMetricSourceName
- CreateCommonResources.CollectorName
Expand Down Expand Up @@ -1989,8 +1980,8 @@ Tests:
- CreateCommonResources.CloudTrailSource
- CreateCommonResources.CloudTrailSNSSubscription
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExistingAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableAccessLogsForExistingAWSResources
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExisitngAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.ExistingAWSResources
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.SumoLambdaRole
- sumoRdsMetricsAppStack.ClusterMetricRule
- sumoRdsMetricsAppStack.InstanceMetricRule
Expand Down Expand Up @@ -2039,7 +2030,7 @@ Tests:
- CreateCommonResources.LambdaRoleARN
- CreateCommonResources.BucketName
- sumoAlbMetricsAppStack.ExistingMetricSourceName
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExistingAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExisitngAWSResourcesLambda
- sumoLambdaMetricsAppStack.ExistingCloudWatchLogSourceName
- CreateCommonResources.CollectorName
- CreateCommonResources.AccountAlias
Expand Down Expand Up @@ -2428,9 +2419,9 @@ Tests:
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.AutoEnableAlbLogEventsInvokePermission
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.AutoEnableAlbLogEventsRuleTrigger
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExistingAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExisitngAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableNewAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableAccessLogsForExistingAWSResources
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.ExistingAWSResources
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.SumoLambdaRole
- sumoEC2MetricsAppStack.sumoApp
- sumoEC2MetricsAppStack.sumoOverview
Expand Down Expand Up @@ -2508,7 +2499,7 @@ Tests:
- CreateCommonResources.LambdaRoleARN
- sumoLambdaMetricsAppStack.ExistingCloudTrailLogSourceName
- sumoAlbMetricsAppStack.ExistingLogSourceName
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExistingAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExisitngAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableNewAWSResourcesLambda
- CreateCommonResources.KinesisMetricsRoleARN
- CreateCommonResources.KinesisMetricsDeliveryStreamARN
Expand Down Expand Up @@ -2688,9 +2679,9 @@ Tests:
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.AutoEnableElbLogEventsInvokePermission
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.AutoEnableElbLogEventsRuleTrigger
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExistingAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExisitngAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableNewAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableAccessLogsForExistingAWSResources
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.ExistingAWSResources
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.SumoLambdaRole
- sumoEC2MetricsAppStack.sumoApp
- sumoEC2MetricsAppStack.sumoOverview
Expand Down Expand Up @@ -2768,7 +2759,7 @@ Tests:
- CreateCommonResources.LambdaRoleARN
- sumoLambdaMetricsAppStack.ExistingCloudTrailLogSourceName
- sumoElbMetricsAppStack.ExistingLogSourceName
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExistingAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExisitngAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableNewAWSResourcesLambda
- CreateCommonResources.KinesisMetricsRoleARN
- CreateCommonResources.KinesisMetricsDeliveryStreamARN
Expand Down Expand Up @@ -3269,16 +3260,16 @@ Tests:
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.AutoEnableAlbLogEventsInvokePermission
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.AutoEnableAlbLogEventsRuleTrigger
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExistingAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExisitngAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableNewAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableAccessLogsForExistingAWSResources
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.ExistingAWSResources
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.SumoLambdaRole
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.AutoEnableElbLogEventsInvokePermission
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.AutoEnableElbLogEventsRuleTrigger
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExistingAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExisitngAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableNewAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableAccessLogsForExistingAWSResources
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.ExistingAWSResources
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.SumoLambdaRole
- AutoEnableOptions.AutoSubscribeLambdaLogGroupsAWSResources
- AutoEnableOptions.AutoSubscribeLambdaLogGroupsAWSResources.InvokeLambdaConnector
Expand Down Expand Up @@ -3354,9 +3345,9 @@ Tests:
- CreateCommonResources.Namespaces
- CreateCommonResources.LambdaRoleARN
- CreateCommonResources.BucketName
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExistingAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableExisitngAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsAlbAWSResources.EnableNewAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExistingAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableExisitngAWSResourcesLambda
- AutoEnableOptions.AutoEnableS3LogsElbAWSResources.EnableNewAWSResourcesLambda
- CreateCommonResources.KinesisMetricsRoleARN
- CreateCommonResources.KinesisMetricsDeliveryStreamARN
Expand Down
Loading