Skip to content

Commit

Permalink
update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanista committed Feb 9, 2024
1 parent 8c5e706 commit 7cafb8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 152 deletions.
76 changes: 1 addition & 75 deletions integration_tests/correct_extension_apigateway_snapshot.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,6 @@
"LogGroupName": "/aws/lambda/dd-sls-plugin-integration-test-dev-providedHello"
}
},
"RubyHello27LogGroup": {
"Type": "AWS::Logs::LogGroup",
"Properties": {
"LogGroupName": "/aws/lambda/dd-sls-plugin-integration-test-dev-RubyHello27"
}
},
"RubyHello32LogGroup": {
"Type": "AWS::Logs::LogGroup",
"Properties": {
Expand Down Expand Up @@ -898,55 +892,6 @@
"ProvidedHelloLogGroup"
]
},
"RubyHello27LambdaFunction": {
"Type": "AWS::Lambda::Function",
"Properties": {
"Code": {
"S3Bucket": {
"Ref": "ServerlessDeploymentBucket"
},
"S3Key": "serverless/dd-sls-plugin-integration-test/dev/XXXXXXXXXXXXX-XXXX-XX-XXXXX:XX:XX.XXXX/dd-sls-plugin-integration-test.zip"
},
"Handler": "rb_handler.hello",
"Runtime": "ruby2.7",
"FunctionName": "dd-sls-plugin-integration-test-dev-RubyHello27",
"MemorySize": 1024,
"Timeout": 6,
"Tags": [
{
"Key": "dd_sls_plugin",
"Value": "vX.XX.X"
}
],
"Environment": {
"Variables": {
"DD_API_KEY": 1234,
"DD_SITE": "datadoghq.com",
"DD_LOG_LEVEL": "info",
"DD_TRACE_ENABLED": true,
"DD_MERGE_XRAY_TRACES": false,
"DD_LOGS_INJECTION": false,
"DD_SERVERLESS_LOGS_ENABLED": true,
"DD_CAPTURE_LAMBDA_PAYLOAD": false,
"DD_SERVICE": "dd-sls-plugin-integration-test",
"DD_ENV": "dev"
}
},
"Role": {
"Fn::GetAtt": [
"IamRoleLambdaExecution",
"Arn"
]
},
"Layers": [
"arn:aws:lambda:sa-east-1:464622532012:layer:Datadog-Ruby2-7:XXX",
"arn:aws:lambda:sa-east-1:464622532012:layer:Datadog-Extension:XXX"
]
},
"DependsOn": [
"RubyHello27LogGroup"
]
},
"RubyHello32LambdaFunction": {
"Type": "AWS::Lambda::Function",
"Properties": {
Expand Down Expand Up @@ -1126,16 +1071,6 @@
"CodeSha256": "XXXX"
}
},
"RubyHello27LambdaVersionXXXX": {
"Type": "AWS::Lambda::Version",
"DeletionPolicy": "Retain",
"Properties": {
"FunctionName": {
"Ref": "RubyHello27LambdaFunction"
},
"CodeSha256": "XXXX"
}
},
"RubyHello32LambdaVersionXXXX": {
"Type": "AWS::Lambda::Version",
"DeletionPolicy": "Retain",
Expand Down Expand Up @@ -2004,15 +1939,6 @@
"Name": "sls-dd-sls-plugin-integration-test-dev-ProvidedHelloLambdaFunctionQualifiedArn"
}
},
"RubyHello27LambdaFunctionQualifiedArn": {
"Description": "Current Lambda function version",
"Value": {
"Ref": "RubyHello27LambdaVersionXXXX"
},
"Export": {
"Name": "sls-dd-sls-plugin-integration-test-dev-RubyHello27LambdaFunctionQualifiedArn"
}
},
"RubyHello32LambdaFunctionQualifiedArn": {
"Description": "Current Lambda function version",
"Value": {
Expand Down Expand Up @@ -2109,4 +2035,4 @@
}
}
}
}
}
78 changes: 1 addition & 77 deletions integration_tests/correct_extension_snapshot.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,12 +161,6 @@
"LogGroupName": "/aws/lambda/dd-sls-plugin-integration-test-dev-providedHello"
}
},
"RubyHello27LogGroup": {
"Type": "AWS::Logs::LogGroup",
"Properties": {
"LogGroupName": "/aws/lambda/dd-sls-plugin-integration-test-dev-RubyHello27"
}
},
"RubyHello32LogGroup": {
"Type": "AWS::Logs::LogGroup",
"Properties": {
Expand Down Expand Up @@ -1042,57 +1036,6 @@
"ProvidedHelloLogGroup"
]
},
"RubyHello27LambdaFunction": {
"Type": "AWS::Lambda::Function",
"Properties": {
"Code": {
"S3Bucket": {
"Ref": "ServerlessDeploymentBucket"
},
"S3Key": "serverless/dd-sls-plugin-integration-test/dev/XXXXXXXXXXXXX-XXXX-XX-XXXXX:XX:XX.XXXX/dd-sls-plugin-integration-test.zip"
},
"Handler": "rb_handler.hello",
"Runtime": "ruby2.7",
"FunctionName": "dd-sls-plugin-integration-test-dev-RubyHello27",
"MemorySize": 1024,
"Timeout": 6,
"Tags": [
{
"Key": "dd_sls_plugin",
"Value": "vX.XX.X"
}
],
"Environment": {
"Variables": {
"DD_API_KEY": 1234,
"DD_SITE": "datadoghq.com",
"DD_TRACE_ENABLED": true,
"DD_MERGE_XRAY_TRACES": false,
"DD_LOGS_INJECTION": false,
"DD_SERVERLESS_LOGS_ENABLED": true,
"DD_CAPTURE_LAMBDA_PAYLOAD": false,
"DD_SERVICE": "dd-sls-plugin-integration-test",
"DD_ENV": "dev"
}
},
"Role": {
"Fn::GetAtt": [
"IamRoleLambdaExecution",
"Arn"
]
},
"Layers": [
{
"Ref": "ProviderLevelLayerLambdaLayer"
},
"arn:aws:lambda:sa-east-1:464622532012:layer:Datadog-Ruby2-7:XXX",
"arn:aws:lambda:sa-east-1:464622532012:layer:Datadog-Extension:XXX"
]
},
"DependsOn": [
"RubyHello27LogGroup"
]
},
"RubyHello32LambdaFunction": {
"Type": "AWS::Lambda::Function",
"Properties": {
Expand Down Expand Up @@ -1284,16 +1227,6 @@
"CodeSha256": "XXXX"
}
},
"RubyHello27LambdaVersionXXXX": {
"Type": "AWS::Lambda::Version",
"DeletionPolicy": "Retain",
"Properties": {
"FunctionName": {
"Ref": "RubyHello27LambdaFunction"
},
"CodeSha256": "XXXX"
}
},
"RubyHello32LambdaVersionXXXX": {
"Type": "AWS::Lambda::Version",
"DeletionPolicy": "Retain",
Expand Down Expand Up @@ -1496,15 +1429,6 @@
"Name": "sls-dd-sls-plugin-integration-test-dev-ProvidedHelloLambdaFunctionQualifiedArn"
}
},
"RubyHello27LambdaFunctionQualifiedArn": {
"Description": "Current Lambda function version",
"Value": {
"Ref": "RubyHello27LambdaVersionXXXX"
},
"Export": {
"Name": "sls-dd-sls-plugin-integration-test-dev-RubyHello27LambdaFunctionQualifiedArn"
}
},
"RubyHello32LambdaFunctionQualifiedArn": {
"Description": "Current Lambda function version",
"Value": {
Expand All @@ -1524,4 +1448,4 @@
}
}
}
}
}

0 comments on commit 7cafb8c

Please sign in to comment.